public function init($type, $identifier, $callback, $priority = 10)
    {
        $this->getModel()->setType($type);
        $this->getModel()->setIdentifier($identifier);
        $this->getModel()->setCallback($callback);
        $this->getModel()->setPriority($priority);
    }
public function init($type, $identifier, $callback, $priority = 10)
    {
        $this->getModel()->setType($type);
        $this->getModel()->setIdentifier($identifier);
        $this->getModel()->setCallback($callback);
        $this->getModel()->setPriority($priority);
    }
public function init ( $ type , $ identifier , $ callback , $ priority = 10 ) { $ this -> getModel ( ) -> setType ( $ type ) ; $ this -> getModel ( ) -> setIdentifier ( $ identifier ) ; $ this -> getModel ( ) -> setCallback ( $ callback ) ; $ this -> getModel ( ) -> setPriority ( $ priority ) ; }
Initialize all data.

@param string        $type
@param string        $identifier
@param array|string  $callback
@param mixed         $priority
Initialize all data .