コード例 #1
0
 /**
  * Constructor
  */
 public function __construct($note, $attributes, $data)
 {
     parent::__construct($attributes, $data);
     $this->inline = $this->getAttribute('inline', false);
     $this->hidden = $this->getAttribute('hidden', false);
     $this->note = $note;
     $this->id = -1;
     if ($this->isBackReferenced()) {
         $this->id = $this->note->getScope()->getReferenceId();
     }
 }
コード例 #2
0
ファイル: note.php プロジェクト: omusico/isle-web-framework
 /**
  * Constructor
  */
 public function __construct($scope, $namespaceName, $name)
 {
     parent::__construct();
     $this->scope = $scope;
     $this->namespaceName = $namespaceName;
     $this->id = -1;
     $this->name = $name;
     $this->inline = false;
     $this->reference = array();
     $this->text = '';
     $this->processed = false;
 }
コード例 #3
0
 /**
  * Constructor
  */
 public function __construct($source, $data)
 {
     parent::__construct();
     $this->nameParts = array('', '');
     if ($source == '{configuration}') {
         $this->initializeConfigNote($data);
     } else {
         $this->initializePageNote($data);
     }
     $this->attributes['source'] = $source;
 }