_stateMachine = new CRM_Activity_StateMachine_Search($this, $action); // create and instantiate the pages $this->addPages($this->_stateMachine, $action); // add all the actions $this->addActions(); } public function selectorName() { return $this->get('selectorName'); } }