Contao\DC_Table::__get PHP Method

__get() public method

Return an object property
public __get ( string $strKey ) : mixed
$strKey string
return mixed
    public function __get($strKey)
    {
        switch ($strKey) {
            case 'id':
                return $this->intId;
                break;
            case 'parentTable':
                return $this->ptable;
                break;
            case 'childTable':
                return $this->ctable;
                break;
            case 'rootIds':
                return $this->root;
                break;
            case 'createNewVersion':
                return $this->blnCreateNewVersion;
                break;
        }
        return parent::__get($strKey);
    }