示例#1
0
文件: core.php 项目: jerfowler/yada
 public function export(Yada_Interface_Aggregate $object)
 {
     $exported = isset($this::$_exported) ? $this::$_exported : array();
     $object->register($this, $exported);
 }
示例#2
0
文件: core.php 项目: jerfowler/yada
 /**
  * Export any aggregate methods to the model
  * @param Yada_Interface_Aggregate $model
  */
 public function export(Yada_Interface_Aggregate $model)
 {
     // Exported method names are stored in a static variable
     $exported = isset(self::$_exported) ? self::$_exported : array();
     $model->register($this, $exported);
 }