本文整理汇总了PHP中assetParamsPeer::getIds方法的典型用法代码示例。如果您正苦于以下问题:PHP assetParamsPeer::getIds方法的具体用法?PHP assetParamsPeer::getIds怎么用?PHP assetParamsPeer::getIds使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类assetParamsPeer
的用法示例。
在下文中一共展示了assetParamsPeer::getIds方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: toObject
public function toObject($object_to_fill = null, $props_to_skip = array())
{
if (!$object_to_fill) {
$object_to_fill = new assetParamsConversionProfileFilter();
}
$conversionProfileCriteria = new Criteria();
if ($this->conversionProfileIdEqual) {
$conversionProfileCriteria->add(conversionProfile2Peer::ID, $this->conversionProfileIdEqual);
}
if ($this->conversionProfileIdIn) {
$conversionProfileCriteria->add(conversionProfile2Peer::ID, explode(',', $this->conversionProfileIdIn), Criteria::IN);
}
if ($this->conversionProfileIdFilter) {
$conversionProfileIdFilter = new conversionProfile2Filter();
$this->conversionProfileIdFilter->toObject($conversionProfileIdFilter);
$conversionProfileIdFilter->attachToCriteria($conversionProfileCriteria);
}
$this->conversionProfileIdEqual = null;
$this->conversionProfileIdFilter = null;
$conversionProfileIdIn = conversionProfile2Peer::getIds($conversionProfileCriteria);
if (count($conversionProfileIdIn)) {
$this->conversionProfileIdIn = implode(',', $conversionProfileIdIn);
} else {
$this->conversionProfileIdIn = -1;
}
// none existing conversion profile
$assetParamsCriteria = new Criteria();
if ($this->assetParamsIdEqual) {
$assetParamsCriteria->add(assetParamsPeer::ID, $this->assetParamsIdEqual);
}
if ($this->assetParamsIdIn) {
$assetParamsCriteria->add(assetParamsPeer::ID, explode(',', $this->assetParamsIdIn), Criteria::IN);
}
if ($this->assetParamsIdFilter) {
$assetParamsIdFilter = new assetParamsFilter();
$this->assetParamsIdFilter->toObject($assetParamsIdFilter);
$assetParamsIdFilter->attachToCriteria($assetParamsCriteria);
}
$this->assetParamsIdEqual = null;
$this->assetParamsIdFilter = null;
$assetParamsIdIn = assetParamsPeer::getIds($assetParamsCriteria);
if (count($assetParamsIdIn)) {
$this->assetParamsIdIn = implode(',', $assetParamsIdIn);
} else {
$this->assetParamsIdIn = -1;
}
// none existing flavor
return parent::toObject($object_to_fill, $props_to_skip);
}
开发者ID:EfncoPlugins,项目名称:Media-Management-based-on-Kaltura,代码行数:49,代码来源:KalturaConversionProfileAssetParamsFilter.php