QQReverseReferenceNode::__construct PHP Метод

__construct() публичный Метод

public __construct ( $objParentNode, $strName, $strType, $strForeignKey, $strPropertyName = null )
    public function __construct($objParentNode, $strName, $strType, $strForeignKey, $strPropertyName = null)
    {
        $this->objParentNode = $objParentNode;
        if ($objParentNode) {
            $this->strRootTableName = $objParentNode->_RootTableName;
        } else {
            throw new QCallerException('ReverseReferenceNodes must have a Parent Node');
        }
        $this->strName = $strName;
        $this->strType = $strType;
        $this->strForeignKey = $strForeignKey;
        $this->strPropertyName = $strPropertyName;
    }