예제 #1
0
 /**
  * {@inherited}
  */
 public function set($keySegment, $value)
 {
     $itemKey = $this->getItemKey($keySegment);
     // if value to set is an subcontractor instance we have to let it 'know' that
     // it's needed by a specified contractor so it would do a proper initialization
     if ($value instanceof AbstractSubcontractor && ($this->currentSectionType = SECTION_TYPE_SERVICE)) {
         $value->setContractorName($this->getCurrentSectionName());
     }
     return parent::set($itemKey, $value);
 }
예제 #2
0
 public function __construct(array $items = array())
 {
     parent::__construct($items);
 }