Topic: QQ::Clause question
Hi
I am trying to do some modifications to the objChildAssetArray in asset_edit.php. I have already added some custom fields columns to the datagrid. What remains is to actually put some data there. As for now only the heading shows.
I tried to do this in asset_edit.php I tried to add this as a clause to the LoadArrayByParentAssetId. The problem is I have no idea what I am doing.
if ($this->objAsset && is_int($this->objAsset->AssetId)) {
$objClauses = QQ::Clause(QQ::Expand(QQN::Asset()->CustomFieldSelection()k->CustomFieldValue));
$this->ctlAssetEdit->objChildAssetArray = Asset::LoadArrayByParentAssetId($this->objAsset->AssetId, $objClauses);
}
else {
$this->ctlAssetEdit->objChildAssetArray = array();
}Could someone please try to set up this clause statement for me?