Property | Type | Description | |
---|---|---|---|
$strTable | string | Table name |
Method | Description | |
---|---|---|
countPublishedByPidAndTable ( integer $intPid, string $strParentTable, array $arrOptions = [] ) : integer | Find all published content elements by their parent ID and parent table | |
findPublishedByPidAndTable ( integer $intPid, string $strParentTable, array $arrOptions = [] ) : |
Find all published content elements by their parent ID and parent table |
public static findPublishedByPidAndTable ( integer $intPid, string $strParentTable, array $arrOptions = [] ) : |
||
$intPid | integer | The article ID |
$strParentTable | string | The parent table name |
$arrOptions | array | An optional options array |
return | A collection of models or null if there are no content elements |
protected static string $strTable | ||
return | string |