Gc\Property\Model::getValueModel PHP 메소드

getValueModel() 공개 메소드

Return property value model
public getValueModel ( ) : Model
리턴 Gc\Property\Value\Model
    public function getValueModel()
    {
        if (empty($this->value)) {
            $this->loadValue();
        }
        return $this->value;
    }

Usage Example

예제 #1
0
파일: ModelTest.php 프로젝트: gotcms/gotcms
 /**
  * Test
  *
  * @return void
  */
 public function testGetValueModel()
 {
     $this->assertInstanceOf('Gc\\Property\\Value\\Model', $this->object->getValueModel());
 }
All Usage Examples Of Gc\Property\Model::getValueModel