Process::init PHP Method

init() public method

public init ( $args )
    public function init($args)
    {
        return array('name' => $args[0], 'part' => false, 'proc_known' => array($this->self()), 'neighbors' => array(), 'channels_known' => array());
    }

Usage Example

コード例 #1
0
 /**
  * This is an optional initialization function called before any execute functions.
  *
  * If you don't need to do any initialization common to every execution of this module,
  * you can simply remove this init() method. 
  *
  */
 public function init()
 {
     parent::init();
     // always remember to call the parent init
 }
All Usage Examples Of Process::init