Пример #1
0
 public function __construct($namePath = array(), Field $itemField = null)
 {
     parent::__construct($namePath);
     $this->itemField = $itemField;
 }
Пример #2
0
 /**
  * @dataProvider providerTestPrintableNamePath
  */
 public function testPrintableNamePath($fieldPath, $expected)
 {
     $field = new Raw($fieldPath);
     $value = $field->getPrintableNamePath();
     $this->assertSame($expected, $value);
 }
Пример #3
0
 public function __construct($namePath = array())
 {
     parent::__construct($namePath);
     $this->allowStringValues = false;
     $this->allowIntegerValues = false;
 }
Пример #4
0
 public function __construct($namePath, $dateFormat)
 {
     parent::__construct($namePath);
     $this->dateFormat = $dateFormat;
 }