11313 lines
317 KiB
HTML
11313 lines
317 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="generator" content="ApiGen 2.8.0" />
|
|
|
|
<title>Class Thelia\Model\om\BaseProduct | thelia</title>
|
|
|
|
<script type="text/javascript" src="resources/combined.js?394153670"></script>
|
|
<script type="text/javascript" src="elementlist.js?319012511"></script>
|
|
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="left">
|
|
<div id="menu">
|
|
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
|
|
|
|
<div id="groups">
|
|
<h3>Namespaces</h3>
|
|
<ul>
|
|
<li><a href="namespace-PHP.html">PHP</a>
|
|
</li>
|
|
<li class="active"><a href="namespace-Thelia.html">Thelia<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Action.html">Action</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Controller.html">Controller</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Core.html">Core<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Core.Bundle.html">Bundle</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Core.Event.html">Event</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Core.EventListener.html">EventListener</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Core.Template.html">Template</a>
|
|
</li>
|
|
</ul></li>
|
|
<li><a href="namespace-Thelia.Exception.html">Exception</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Log.html">Log<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Log.Destination.html">Destination</a>
|
|
</li>
|
|
</ul></li>
|
|
<li class="active"><a href="namespace-Thelia.Model.html">Model<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Model.map.html">map</a>
|
|
</li>
|
|
<li class="active"><a href="namespace-Thelia.Model.om.html">om</a>
|
|
</li>
|
|
</ul></li>
|
|
<li><a href="namespace-Thelia.Routing.html">Routing<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Routing.Matcher.html">Matcher</a>
|
|
</li>
|
|
</ul></li>
|
|
<li><a href="namespace-Thelia.Tools.html">Tools</a>
|
|
</li>
|
|
</ul></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
|
|
<div id="elements">
|
|
<h3>Classes</h3>
|
|
<ul>
|
|
<li><a href="class-Thelia.Model.om.BaseAccessory.html">BaseAccessory</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAccessoryPeer.html">BaseAccessoryPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAccessoryQuery.html">BaseAccessoryQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAddress.html">BaseAddress</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAddressPeer.html">BaseAddressPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAddressQuery.html">BaseAddressQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdmin.html">BaseAdmin</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdminGroup.html">BaseAdminGroup</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdminGroupPeer.html">BaseAdminGroupPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdminGroupQuery.html">BaseAdminGroupQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdminLog.html">BaseAdminLog</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdminLogPeer.html">BaseAdminLogPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdminLogQuery.html">BaseAdminLogQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdminPeer.html">BaseAdminPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAdminQuery.html">BaseAdminQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseArea.html">BaseArea</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAreaPeer.html">BaseAreaPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAreaQuery.html">BaseAreaQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttribute.html">BaseAttribute</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAv.html">BaseAttributeAv</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAvDesc.html">BaseAttributeAvDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAvDescPeer.html">BaseAttributeAvDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAvDescQuery.html">BaseAttributeAvDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAvI18n.html">BaseAttributeAvI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAvI18nPeer.html">BaseAttributeAvI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAvI18nQuery.html">BaseAttributeAvI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAvPeer.html">BaseAttributeAvPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeAvQuery.html">BaseAttributeAvQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeCategory.html">BaseAttributeCategory</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeCategoryPeer.html">BaseAttributeCategoryPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeCategoryQuery.html">BaseAttributeCategoryQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeCombination.html">BaseAttributeCombination</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeCombinationPeer.html">BaseAttributeCombinationPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeCombinationQuery.html">BaseAttributeCombinationQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeDesc.html">BaseAttributeDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeDescPeer.html">BaseAttributeDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeDescQuery.html">BaseAttributeDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeI18n.html">BaseAttributeI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeI18nPeer.html">BaseAttributeI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeI18nQuery.html">BaseAttributeI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributePeer.html">BaseAttributePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseAttributeQuery.html">BaseAttributeQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategory.html">BaseCategory</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryDesc.html">BaseCategoryDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryDescPeer.html">BaseCategoryDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryDescQuery.html">BaseCategoryDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryI18n.html">BaseCategoryI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryI18nPeer.html">BaseCategoryI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryI18nQuery.html">BaseCategoryI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryPeer.html">BaseCategoryPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryQuery.html">BaseCategoryQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryVersion.html">BaseCategoryVersion</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryVersionPeer.html">BaseCategoryVersionPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCategoryVersionQuery.html">BaseCategoryVersionQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCombination.html">BaseCombination</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCombinationPeer.html">BaseCombinationPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCombinationQuery.html">BaseCombinationQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfig.html">BaseConfig</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfigDesc.html">BaseConfigDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfigDescPeer.html">BaseConfigDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfigDescQuery.html">BaseConfigDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfigI18n.html">BaseConfigI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfigI18nPeer.html">BaseConfigI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfigI18nQuery.html">BaseConfigI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfigPeer.html">BaseConfigPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseConfigQuery.html">BaseConfigQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContent.html">BaseContent</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentAssoc.html">BaseContentAssoc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentAssocPeer.html">BaseContentAssocPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentAssocQuery.html">BaseContentAssocQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentDesc.html">BaseContentDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentDescPeer.html">BaseContentDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentDescQuery.html">BaseContentDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentFolder.html">BaseContentFolder</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentFolderPeer.html">BaseContentFolderPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentFolderQuery.html">BaseContentFolderQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentI18n.html">BaseContentI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentI18nPeer.html">BaseContentI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentI18nQuery.html">BaseContentI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentPeer.html">BaseContentPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentQuery.html">BaseContentQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentVersion.html">BaseContentVersion</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentVersionPeer.html">BaseContentVersionPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseContentVersionQuery.html">BaseContentVersionQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountry.html">BaseCountry</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountryDesc.html">BaseCountryDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountryDescPeer.html">BaseCountryDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountryDescQuery.html">BaseCountryDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountryI18n.html">BaseCountryI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountryI18nPeer.html">BaseCountryI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountryI18nQuery.html">BaseCountryI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountryPeer.html">BaseCountryPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCountryQuery.html">BaseCountryQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCoupon.html">BaseCoupon</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCouponOrder.html">BaseCouponOrder</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCouponOrderPeer.html">BaseCouponOrderPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCouponOrderQuery.html">BaseCouponOrderQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCouponPeer.html">BaseCouponPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCouponQuery.html">BaseCouponQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCouponRule.html">BaseCouponRule</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCouponRulePeer.html">BaseCouponRulePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCouponRuleQuery.html">BaseCouponRuleQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCurrency.html">BaseCurrency</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCurrencyPeer.html">BaseCurrencyPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCurrencyQuery.html">BaseCurrencyQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomer.html">BaseCustomer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerPeer.html">BaseCustomerPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerQuery.html">BaseCustomerQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitle.html">BaseCustomerTitle</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitleDesc.html">BaseCustomerTitleDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitleDescPeer.html">BaseCustomerTitleDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitleDescQuery.html">BaseCustomerTitleDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitleI18n.html">BaseCustomerTitleI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitleI18nPeer.html">BaseCustomerTitleI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitleI18nQuery.html">BaseCustomerTitleI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitlePeer.html">BaseCustomerTitlePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseCustomerTitleQuery.html">BaseCustomerTitleQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDelivzone.html">BaseDelivzone</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDelivzonePeer.html">BaseDelivzonePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDelivzoneQuery.html">BaseDelivzoneQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocument.html">BaseDocument</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocumentDesc.html">BaseDocumentDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocumentDescPeer.html">BaseDocumentDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocumentDescQuery.html">BaseDocumentDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocumentI18n.html">BaseDocumentI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocumentI18nPeer.html">BaseDocumentI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocumentI18nQuery.html">BaseDocumentI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocumentPeer.html">BaseDocumentPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseDocumentQuery.html">BaseDocumentQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeature.html">BaseFeature</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAv.html">BaseFeatureAv</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAvDesc.html">BaseFeatureAvDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAvDescPeer.html">BaseFeatureAvDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAvDescQuery.html">BaseFeatureAvDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAvI18n.html">BaseFeatureAvI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAvI18nPeer.html">BaseFeatureAvI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAvI18nQuery.html">BaseFeatureAvI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAvPeer.html">BaseFeatureAvPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureAvQuery.html">BaseFeatureAvQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureCategory.html">BaseFeatureCategory</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureCategoryPeer.html">BaseFeatureCategoryPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureCategoryQuery.html">BaseFeatureCategoryQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureDesc.html">BaseFeatureDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureDescPeer.html">BaseFeatureDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureDescQuery.html">BaseFeatureDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureI18n.html">BaseFeatureI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureI18nPeer.html">BaseFeatureI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureI18nQuery.html">BaseFeatureI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeaturePeer.html">BaseFeaturePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureProd.html">BaseFeatureProd</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureProdPeer.html">BaseFeatureProdPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureProdQuery.html">BaseFeatureProdQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFeatureQuery.html">BaseFeatureQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolder.html">BaseFolder</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderDesc.html">BaseFolderDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderDescPeer.html">BaseFolderDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderDescQuery.html">BaseFolderDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderI18n.html">BaseFolderI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderI18nPeer.html">BaseFolderI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderI18nQuery.html">BaseFolderI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderPeer.html">BaseFolderPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderQuery.html">BaseFolderQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderVersion.html">BaseFolderVersion</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderVersionPeer.html">BaseFolderVersionPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseFolderVersionQuery.html">BaseFolderVersionQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroup.html">BaseGroup</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupDesc.html">BaseGroupDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupDescPeer.html">BaseGroupDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupDescQuery.html">BaseGroupDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupI18n.html">BaseGroupI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupI18nPeer.html">BaseGroupI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupI18nQuery.html">BaseGroupI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupModule.html">BaseGroupModule</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupModulePeer.html">BaseGroupModulePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupModuleQuery.html">BaseGroupModuleQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupPeer.html">BaseGroupPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupQuery.html">BaseGroupQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupResource.html">BaseGroupResource</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupResourcePeer.html">BaseGroupResourcePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseGroupResourceQuery.html">BaseGroupResourceQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImage.html">BaseImage</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImageDesc.html">BaseImageDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImageDescPeer.html">BaseImageDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImageDescQuery.html">BaseImageDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImageI18n.html">BaseImageI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImageI18nPeer.html">BaseImageI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImageI18nQuery.html">BaseImageI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImagePeer.html">BaseImagePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseImageQuery.html">BaseImageQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseLang.html">BaseLang</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseLangPeer.html">BaseLangPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseLangQuery.html">BaseLangQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessage.html">BaseMessage</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageDesc.html">BaseMessageDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageDescPeer.html">BaseMessageDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageDescQuery.html">BaseMessageDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageI18n.html">BaseMessageI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageI18nPeer.html">BaseMessageI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageI18nQuery.html">BaseMessageI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessagePeer.html">BaseMessagePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageQuery.html">BaseMessageQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageVersion.html">BaseMessageVersion</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageVersionPeer.html">BaseMessageVersionPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseMessageVersionQuery.html">BaseMessageVersionQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseModuleDesc.html">BaseModuleDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseModuleDescPeer.html">BaseModuleDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseModuleDescQuery.html">BaseModuleDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseModuleI18n.html">BaseModuleI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseModuleI18nPeer.html">BaseModuleI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseModuleI18nQuery.html">BaseModuleI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseModulePeer.html">BaseModulePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrder.html">BaseOrder</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderAddress.html">BaseOrderAddress</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderAddressPeer.html">BaseOrderAddressPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderAddressQuery.html">BaseOrderAddressQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderFeature.html">BaseOrderFeature</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderFeaturePeer.html">BaseOrderFeaturePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderFeatureQuery.html">BaseOrderFeatureQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderPeer.html">BaseOrderPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderProduct.html">BaseOrderProduct</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderProductPeer.html">BaseOrderProductPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderProductQuery.html">BaseOrderProductQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderQuery.html">BaseOrderQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatus.html">BaseOrderStatus</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatusDesc.html">BaseOrderStatusDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatusDescPeer.html">BaseOrderStatusDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatusDescQuery.html">BaseOrderStatusDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatusI18n.html">BaseOrderStatusI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatusI18nPeer.html">BaseOrderStatusI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatusI18nQuery.html">BaseOrderStatusI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatusPeer.html">BaseOrderStatusPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseOrderStatusQuery.html">BaseOrderStatusQuery</a></li>
|
|
<li class="active"><a href="class-Thelia.Model.om.BaseProduct.html">BaseProduct</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductCategory.html">BaseProductCategory</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductCategoryPeer.html">BaseProductCategoryPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductCategoryQuery.html">BaseProductCategoryQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductDesc.html">BaseProductDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductDescPeer.html">BaseProductDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductDescQuery.html">BaseProductDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductI18n.html">BaseProductI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductI18nPeer.html">BaseProductI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductI18nQuery.html">BaseProductI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductPeer.html">BaseProductPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductQuery.html">BaseProductQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductVersion.html">BaseProductVersion</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductVersionPeer.html">BaseProductVersionPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseProductVersionQuery.html">BaseProductVersionQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResource.html">BaseResource</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResourceDesc.html">BaseResourceDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResourceDescPeer.html">BaseResourceDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResourceDescQuery.html">BaseResourceDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResourceI18n.html">BaseResourceI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResourceI18nPeer.html">BaseResourceI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResourceI18nQuery.html">BaseResourceI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResourcePeer.html">BaseResourcePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseResourceQuery.html">BaseResourceQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseRewriting.html">BaseRewriting</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseRewritingPeer.html">BaseRewritingPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseRewritingQuery.html">BaseRewritingQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseStock.html">BaseStock</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseStockPeer.html">BaseStockPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseStockQuery.html">BaseStockQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTax.html">BaseTax</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxDesc.html">BaseTaxDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxDescPeer.html">BaseTaxDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxDescQuery.html">BaseTaxDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxI18n.html">BaseTaxI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxI18nPeer.html">BaseTaxI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxI18nQuery.html">BaseTaxI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxPeer.html">BaseTaxPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxQuery.html">BaseTaxQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRule.html">BaseTaxRule</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleCountry.html">BaseTaxRuleCountry</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleCountryPeer.html">BaseTaxRuleCountryPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleCountryQuery.html">BaseTaxRuleCountryQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleDesc.html">BaseTaxRuleDesc</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleDescPeer.html">BaseTaxRuleDescPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleDescQuery.html">BaseTaxRuleDescQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleI18n.html">BaseTaxRuleI18n</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleI18nPeer.html">BaseTaxRuleI18nPeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleI18nQuery.html">BaseTaxRuleI18nQuery</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRulePeer.html">BaseTaxRulePeer</a></li>
|
|
<li><a href="class-Thelia.Model.om.BaseTaxRuleQuery.html">BaseTaxRuleQuery</a></li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="splitter"></div>
|
|
|
|
<div id="right">
|
|
<div id="rightInner">
|
|
<form id="search">
|
|
<input type="hidden" name="cx" value="" />
|
|
<input type="hidden" name="ie" value="UTF-8" />
|
|
<input type="text" name="q" class="text" />
|
|
<input type="submit" value="Search" />
|
|
</form>
|
|
|
|
<div id="navigation">
|
|
<ul>
|
|
<li>
|
|
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="namespace-Thelia.Model.om.html" title="Summary of Thelia\Model\om"><span>Namespace</span></a>
|
|
</li>
|
|
<li class="active">
|
|
<span>Class</span> </li>
|
|
</ul>
|
|
<ul>
|
|
<li>
|
|
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="content" class="class">
|
|
<h1>Class BaseProduct</h1>
|
|
|
|
|
|
<div class="description">
|
|
|
|
<p>Base class that represents a row from the 'product' table.</p>
|
|
|
|
</div>
|
|
|
|
<dl class="tree">
|
|
<dd style="padding-left:0px">
|
|
BaseObject
|
|
|
|
|
|
</dd>
|
|
<dd style="padding-left:30px">
|
|
<img src="resources/inherit.png" alt="Extended by" />
|
|
<b><span>Thelia\Model\om\BaseProduct</span></b>
|
|
implements
|
|
<span>Persistent</span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<div>
|
|
<h4>Direct known subclasses</h4>
|
|
<a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="info">
|
|
<b>Abstract</b><br />
|
|
|
|
<b>Namespace:</b> <a href="namespace-Thelia.html">Thelia</a>\<a href="namespace-Thelia.Model.html">Model</a>\<a href="namespace-Thelia.Model.om.html">om</a><br />
|
|
<b>Package:</b> propel\generator\Thelia\Model\om<br />
|
|
|
|
<b>Located at</b> <a href="source-class-Thelia.Model.om.BaseProduct.html#45-5816" title="Go to source code">core/lib/Thelia/Model/om/BaseProduct.php</a><br />
|
|
</div>
|
|
|
|
|
|
|
|
<table class="summary" id="methods">
|
|
<caption>Methods summary</caption>
|
|
<tr data-order="applyDefaultValues" id="_applyDefaultValues">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_applyDefaultValues">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#353-366" title="Go to source code">applyDefaultValues</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Applies default values to this object. This method should be called from the
|
|
object's constructor (or equivalent initialization method).</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Applies default values to this object. This method should be called from the
|
|
object's constructor (or equivalent initialization method).</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.om.BaseProduct.html#___construct">Thelia\Model\om\BaseProduct::__construct()</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="__construct" id="___construct">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#___construct">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#368-376" title="Go to source code">__construct</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes internal state of BaseProduct object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes internal state of BaseProduct object.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
applyDefaults()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getId" id="_getId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#378-386" title="Go to source code">getId</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [id] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [id] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getTaxRuleId" id="_getTaxRuleId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getTaxRuleId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#388-396" title="Go to source code">getTaxRuleId</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [tax_rule_id] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [tax_rule_id] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getRef" id="_getRef">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getRef">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#398-406" title="Go to source code">getRef</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [ref] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [ref] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getPrice" id="_getPrice">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
float
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getPrice">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#408-416" title="Go to source code">getPrice</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [price] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [price] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>float</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getPrice2" id="_getPrice2">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
float
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getPrice2">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#418-426" title="Go to source code">getPrice2</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [price2] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [price2] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>float</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getEcotax" id="_getEcotax">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
float
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getEcotax">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#428-436" title="Go to source code">getEcotax</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [ecotax] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [ecotax] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>float</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getNewness" id="_getNewness">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getNewness">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#438-446" title="Go to source code">getNewness</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [newness] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [newness] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getPromo" id="_getPromo">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getPromo">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#448-456" title="Go to source code">getPromo</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [promo] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [promo] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getStock" id="_getStock">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getStock">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#458-466" title="Go to source code">getStock</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [stock] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [stock] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getVisible" id="_getVisible">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getVisible">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#468-476" title="Go to source code">getVisible</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [visible] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [visible] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getWeight" id="_getWeight">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
float
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getWeight">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#478-486" title="Go to source code">getWeight</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [weight] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [weight] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>float</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getPosition" id="_getPosition">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getPosition">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#488-496" title="Go to source code">getPosition</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [position] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [position] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getCreatedAt" id="_getCreatedAt">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
mixed
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getCreatedAt">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#498-533" title="Go to source code">getCreatedAt</a>( <span>string <var>$format</var> = <span class="php-quote">'Y-m-d H:i:s'</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [optionally formatted] temporal [created_at] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [optionally formatted] temporal [created_at] column value.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$format</var></dt>
|
|
<dd><code>string</code><br>$format The date/time format string (either date()-style or strftime()-style).
|
|
If format is null, then the raw DateTime object will be returned.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>mixed</code><br>Formatted date/time value as string or DateTime object (if format is null), null
|
|
if column is null, and 0 if column value is 0000-00-00 00:00:00<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br>- if unable to parse/validate the date/time value.<br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getUpdatedAt" id="_getUpdatedAt">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
mixed
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getUpdatedAt">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#535-570" title="Go to source code">getUpdatedAt</a>( <span>string <var>$format</var> = <span class="php-quote">'Y-m-d H:i:s'</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [optionally formatted] temporal [updated_at] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [optionally formatted] temporal [updated_at] column value.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$format</var></dt>
|
|
<dd><code>string</code><br>$format The date/time format string (either date()-style or strftime()-style).
|
|
If format is null, then the raw DateTime object will be returned.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>mixed</code><br>Formatted date/time value as string or DateTime object (if format is null), null
|
|
if column is null, and 0 if column value is 0000-00-00 00:00:00<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br>- if unable to parse/validate the date/time value.<br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getVersion" id="_getVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#572-580" title="Go to source code">getVersion</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [version] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [version] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getVersionCreatedAt" id="_getVersionCreatedAt">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
mixed
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getVersionCreatedAt">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#582-617" title="Go to source code">getVersionCreatedAt</a>( <span>string <var>$format</var> = <span class="php-quote">'Y-m-d H:i:s'</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [optionally formatted] temporal [version_created_at] column
|
|
value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [optionally formatted] temporal [version_created_at] column
|
|
value.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$format</var></dt>
|
|
<dd><code>string</code><br>$format The date/time format string (either date()-style or strftime()-style).
|
|
If format is null, then the raw DateTime object will be returned.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>mixed</code><br>Formatted date/time value as string or DateTime object (if format is null), null
|
|
if column is null, and 0 if column value is 0000-00-00 00:00:00<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br>- if unable to parse/validate the date/time value.<br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getVersionCreatedBy" id="_getVersionCreatedBy">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getVersionCreatedBy">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#619-627" title="Go to source code">getVersionCreatedBy</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [version_created_by] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [version_created_by] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setId" id="_setId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#629-648" title="Go to source code">setId</a>( <span>integer <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [id] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [id] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>integer</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setTaxRuleId" id="_setTaxRuleId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setTaxRuleId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#650-673" title="Go to source code">setTaxRuleId</a>( <span>integer <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [tax_rule_id] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [tax_rule_id] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>integer</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setRef" id="_setRef">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setRef">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#675-694" title="Go to source code">setRef</a>( <span>string <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [ref] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [ref] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>string</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setPrice" id="_setPrice">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setPrice">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#696-715" title="Go to source code">setPrice</a>( <span>float <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [price] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [price] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>float</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setPrice2" id="_setPrice2">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setPrice2">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#717-736" title="Go to source code">setPrice2</a>( <span>float <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [price2] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [price2] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>float</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setEcotax" id="_setEcotax">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setEcotax">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#738-757" title="Go to source code">setEcotax</a>( <span>float <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [ecotax] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [ecotax] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>float</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setNewness" id="_setNewness">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setNewness">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#759-778" title="Go to source code">setNewness</a>( <span>integer <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [newness] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [newness] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>integer</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setPromo" id="_setPromo">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setPromo">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#780-799" title="Go to source code">setPromo</a>( <span>integer <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [promo] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [promo] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>integer</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setStock" id="_setStock">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setStock">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#801-820" title="Go to source code">setStock</a>( <span>integer <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [stock] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [stock] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>integer</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setVisible" id="_setVisible">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setVisible">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#822-841" title="Go to source code">setVisible</a>( <span>integer <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [visible] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [visible] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>integer</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setWeight" id="_setWeight">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setWeight">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#843-862" title="Go to source code">setWeight</a>( <span>float <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [weight] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [weight] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>float</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setPosition" id="_setPosition">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setPosition">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#864-883" title="Go to source code">setPosition</a>( <span>integer <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [position] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [position] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>integer</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setCreatedAt" id="_setCreatedAt">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setCreatedAt">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#885-906" title="Go to source code">setCreatedAt</a>( <span>mixed <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets the value of [created_at] column to a normalized version of the
|
|
date/time value specified.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets the value of [created_at] column to a normalized version of the
|
|
date/time value specified.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>mixed</code><br>$v string, integer (timestamp), or DateTime value. Empty strings are treated as
|
|
null.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setUpdatedAt" id="_setUpdatedAt">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setUpdatedAt">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#908-929" title="Go to source code">setUpdatedAt</a>( <span>mixed <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets the value of [updated_at] column to a normalized version of the
|
|
date/time value specified.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets the value of [updated_at] column to a normalized version of the
|
|
date/time value specified.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>mixed</code><br>$v string, integer (timestamp), or DateTime value. Empty strings are treated as
|
|
null.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setVersion" id="_setVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#931-950" title="Go to source code">setVersion</a>( <span>integer <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [version] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [version] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>integer</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setVersionCreatedAt" id="_setVersionCreatedAt">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setVersionCreatedAt">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#952-973" title="Go to source code">setVersionCreatedAt</a>( <span>mixed <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets the value of [version_created_at] column to a normalized version of the
|
|
date/time value specified.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets the value of [version_created_at] column to a normalized version of the
|
|
date/time value specified.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>mixed</code><br>$v string, integer (timestamp), or DateTime value. Empty strings are treated as
|
|
null.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setVersionCreatedBy" id="_setVersionCreatedBy">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setVersionCreatedBy">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#975-994" title="Go to source code">setVersionCreatedBy</a>( <span>string <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [version_created_by] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [version_created_by] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>string</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="hasOnlyDefaultValues" id="_hasOnlyDefaultValues">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
boolean
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_hasOnlyDefaultValues">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#996-1028" title="Go to source code">hasOnlyDefaultValues</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Indicates whether the columns in this object are only set to default
|
|
values.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Indicates whether the columns in this object are only set to default
|
|
values.</p>
|
|
|
|
<p>This method can be used in conjunction with isModified() to indicate whether
|
|
an object is both modified _and_ has some values set which are non-default.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>boolean</code><br>Whether the columns in this object are only been set with default values.<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="hydrate" id="_hydrate">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_hydrate">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1030-1078" title="Go to source code">hydrate</a>( <span>array <var>$row</var></span>, <span>integer <var>$startcol</var> = <span class="php-num">0</span></span>, <span>boolean <var>$rehydrate</var> = <span class="php-keyword1">false</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Hydrates (populates) the object variables with values from the database
|
|
resultset.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Hydrates (populates) the object variables with values from the database
|
|
resultset.</p>
|
|
|
|
<p>An offset (0-based "start column") is specified so that objects can be
|
|
hydrated with a subset of the columns in the resultset rows. This is needed, for
|
|
example, for results of JOIN queries where the resultset row includes columns
|
|
from two or more tables.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$row</var></dt>
|
|
<dd><code>array</code><br>$row The row returned by PDOStatement->fetch(PDO::FETCH_NUM)</dd>
|
|
<dt><var>$startcol</var></dt>
|
|
<dd><code>integer</code><br>$startcol 0-based offset column which indicates which restultset column to start
|
|
with.</dd>
|
|
<dt><var>$rehydrate</var></dt>
|
|
<dd><code>boolean</code><br>$rehydrate Whether this object is being re-hydrated from the database.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>next starting column<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br>- Any caught Exception will be rewrapped as a PropelException.<br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="ensureConsistency" id="_ensureConsistency">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_ensureConsistency">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1080-1099" title="Go to source code">ensureConsistency</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Checks and repairs the internal consistency of the object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Checks and repairs the internal consistency of the object.</p>
|
|
|
|
<p>This method is executed after an already-instantiated object is re-hydrated
|
|
from the database. It exists to check any foreign keys to make sure that the
|
|
objects related to the current object are correct based on foreign key.</p>
|
|
|
|
<p>You can override this method in the stub class, but you should always invoke
|
|
the base method from the overridden method (i.e. parent::ensureConsistency()),
|
|
in case your model changes.</p>
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="reload" id="_reload">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_reload">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1101-1162" title="Go to source code">reload</a>( <span>boolean <var>$deep</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Reloads this object from datastore based on primary key and (optionally)
|
|
resets all associated objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Reloads this object from datastore based on primary key and (optionally)
|
|
resets all associated objects.</p>
|
|
|
|
<p>This will only work if the object has been saved and has a valid primary key
|
|
set.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$deep</var></dt>
|
|
<dd><code>boolean</code><br>$deep (optional) Whether to also de-associated any related objects.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con (optional) The PropelPDO connection to use.</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br>- if this object is deleted, unsaved or doesn't have pk match in db<br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="delete" id="_delete">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_delete">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1164-1201" title="Go to source code">delete</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Removes this object from datastore and sets delete attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Removes this object from datastore and sets delete attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
<code><code><a href="class-Exception.html">Exception</a></code></code><br />
|
|
</div>
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
BaseObject::setDeleted()<br />
|
|
BaseObject::isDeleted()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="save" id="_save">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_save">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1203-1278" title="Go to source code">save</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Persists this object to the database.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Persists this object to the database.</p>
|
|
|
|
<p>If the object is new, it inserts it; otherwise an update is performed. All
|
|
modified related objects will also be persisted in the doSave() method. This
|
|
method wraps all precipitate database operations in a single transaction.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>The number of rows affected by this insert/update and any referring fk objects'
|
|
save() operations.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
<code><code><a href="class-Exception.html">Exception</a></code></code><br />
|
|
</div>
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.om.BaseProduct.html#_doSave">Thelia\Model\om\BaseProduct::doSave()</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doSave" id="_doSave">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doSave">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1280-1516" title="Go to source code">doSave</a>( <span>PropelPDO <var>$con</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Performs the work of inserting or updating the row in the database.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Performs the work of inserting or updating the row in the database.</p>
|
|
|
|
<p>If the object is new, it inserts it; otherwise an update is performed. All
|
|
related objects are also updated in this method.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>The number of rows affected by this insert/update and any referring fk objects'
|
|
save() operations.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.om.BaseProduct.html#_save">Thelia\Model\om\BaseProduct::save()</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doInsert" id="_doInsert">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doInsert">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1518-1666" title="Go to source code">doInsert</a>( <span>PropelPDO <var>$con</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Insert the row in the database.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Insert the row in the database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.om.BaseProduct.html#_doSave">Thelia\Model\om\BaseProduct::doSave()</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doUpdate" id="_doUpdate">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doUpdate">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1668-1680" title="Go to source code">doUpdate</a>( <span>PropelPDO <var>$con</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Update the row in the database.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Update the row in the database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.om.BaseProduct.html#_doSave">Thelia\Model\om\BaseProduct::doSave()</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getValidationFailures" id="_getValidationFailures">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
array
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getValidationFailures">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1688-1698" title="Go to source code">getValidationFailures</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets any ValidationFailed objects that resulted from last call to
|
|
validate().</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets any ValidationFailed objects that resulted from last call to
|
|
validate().</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>array</code><br>ValidationFailed[]<br />
|
|
</div>
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.om.BaseProduct.html#_validate">Thelia\Model\om\BaseProduct::validate()</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="validate" id="_validate">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
boolean
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_validate">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1700-1723" title="Go to source code">validate</a>( <span>mixed <var>$columns</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Validates the objects modified field values and all objects related to this
|
|
table.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Validates the objects modified field values and all objects related to this
|
|
table.</p>
|
|
|
|
<p>If $columns is either a column name or an array of column names only those
|
|
columns are validated.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$columns</var></dt>
|
|
<dd><code>mixed</code><br>$columns Column name or an array of column names.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>boolean</code><br>Whether all columns pass validation.<br />
|
|
</div>
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.om.BaseProduct.html#_doValidate">Thelia\Model\om\BaseProduct::doValidate()</a></code></code><br />
|
|
<code><code><a href="class-Thelia.Model.om.BaseProduct.html#_getValidationFailures">Thelia\Model\om\BaseProduct::getValidationFailures()</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doValidate" id="_doValidate">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doValidate">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1725-1854" title="Go to source code">doValidate</a>( <span>array <var>$columns</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>This function performs the validation work for complex object models.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>This function performs the validation work for complex object models.</p>
|
|
|
|
<p>In addition to checking the current object, all related objects will also be
|
|
validated. If all pass then <code><span
|
|
class="php-keyword1">true</span></code> is returned; otherwise an
|
|
aggreagated array of ValidationFailed objects will be returned.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$columns</var></dt>
|
|
<dd><code>array</code><br>$columns Array of column names to validate.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>mixed</code><br><code><span class="php-keyword1">true</span></code> if all
|
|
validations pass; array of <code>ValidationFailed</code> objets otherwise.<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getByName" id="_getByName">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
mixed
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getByName">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1856-1872" title="Go to source code">getByName</a>( <span>string <var>$name</var></span>, <span>string <var>$type</var> = Thelia\Model\om\BasePeer::TYPE_PHPNAME</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Retrieves a field from the object by name passed in as a string.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Retrieves a field from the object by name passed in as a string.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$name</var></dt>
|
|
<dd><code>string</code><br>$name name</dd>
|
|
<dt><var>$type</var></dt>
|
|
<dd><code>string</code><br>$type The type of fieldname the $name is of: one of the class type constants
|
|
BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME BasePeer::TYPE_COLNAME,
|
|
BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. Defaults to BasePeer::TYPE_PHPNAME</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>mixed</code><br>Value of field.<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getByPosition" id="_getByPosition">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
mixed
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getByPosition">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1874-1939" title="Go to source code">getByPosition</a>( <span>integer <var>$pos</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Retrieves a field from the object by Position as specified in the xml schema.
|
|
Zero-based.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Retrieves a field from the object by Position as specified in the xml schema.
|
|
Zero-based.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$pos</var></dt>
|
|
<dd><code>integer</code><br>$pos position in xml schema</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>mixed</code><br>Value of field at $pos<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="toArray" id="_toArray">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
array
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_toArray">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#1941-2022" title="Go to source code">toArray</a>( <span>string <var>$keyType</var> = Thelia\Model\om\BasePeer::TYPE_PHPNAME</span>, <span>boolean <var>$includeLazyLoadColumns</var> = <span class="php-keyword1">true</span></span>, <span>array <var>$alreadyDumpedObjects</var> = <span class="php-keyword1">array</span>()</span>, <span>boolean <var>$includeForeignObjects</var> = <span class="php-keyword1">false</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Exports the object as an array.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Exports the object as an array.</p>
|
|
|
|
<p>You can specify the key type of the array by passing one of the class type
|
|
constants.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$keyType</var></dt>
|
|
<dd><code>string</code><br>$keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME,
|
|
BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME,
|
|
BasePeer::TYPE_NUM. Defaults to BasePeer::TYPE_PHPNAME.</dd>
|
|
<dt><var>$includeLazyLoadColumns</var></dt>
|
|
<dd><code>boolean</code><br>$includeLazyLoadColumns (optional) Whether to include lazy loaded columns.
|
|
Defaults to true.</dd>
|
|
<dt><var>$alreadyDumpedObjects</var></dt>
|
|
<dd><code>array</code><br>$alreadyDumpedObjects List of objects to skip to avoid recursion</dd>
|
|
<dt><var>$includeForeignObjects</var></dt>
|
|
<dd><code>boolean</code><br>$includeForeignObjects (optional) Whether to include hydrated related objects.
|
|
Default to FALSE.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>array</code><br>an associative array containing the field names (as keys) and field values<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setByName" id="_setByName">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setByName">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2024-2040" title="Go to source code">setByName</a>( <span>string <var>$name</var></span>, <span>mixed <var>$value</var></span>, <span>string <var>$type</var> = Thelia\Model\om\BasePeer::TYPE_PHPNAME</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a field from the object by name passed in as a string.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a field from the object by name passed in as a string.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$name</var></dt>
|
|
<dd><code>string</code><br>$name peer name</dd>
|
|
<dt><var>$value</var></dt>
|
|
<dd><code>mixed</code><br>$value field value</dd>
|
|
<dt><var>$type</var></dt>
|
|
<dd><code>string</code><br>$type The type of fieldname the $name is of: one of the class type constants
|
|
BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME BasePeer::TYPE_COLNAME,
|
|
BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. Defaults to BasePeer::TYPE_PHPNAME</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setByPosition" id="_setByPosition">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setByPosition">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2042-2105" title="Go to source code">setByPosition</a>( <span>integer <var>$pos</var></span>, <span>mixed <var>$value</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a field from the object by Position as specified in the xml schema.
|
|
Zero-based.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a field from the object by Position as specified in the xml schema.
|
|
Zero-based.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$pos</var></dt>
|
|
<dd><code>integer</code><br>$pos position in xml schema</dd>
|
|
<dt><var>$value</var></dt>
|
|
<dd><code>mixed</code><br>$value field value</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="fromArray" id="_fromArray">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_fromArray">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2107-2145" title="Go to source code">fromArray</a>( <span>array <var>$arr</var></span>, <span>string <var>$keyType</var> = Thelia\Model\om\BasePeer::TYPE_PHPNAME</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Populates the object using an array.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Populates the object using an array.</p>
|
|
|
|
<p>This is particularly useful when populating an object from one of the request
|
|
arrays (e.g. $_POST). This method goes through the column names, checking to see
|
|
whether a matching key exists in populated array. If so the setByName() method
|
|
is called for that column.</p>
|
|
|
|
<p>You can specify the key type of the array by additionally passing one of the
|
|
class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
|
|
BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. The
|
|
default key type is the column's BasePeer::TYPE_PHPNAME</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$arr</var></dt>
|
|
<dd><code>array</code><br>$arr An array to populate the object from.</dd>
|
|
<dt><var>$keyType</var></dt>
|
|
<dd><code>string</code><br>$keyType The type of keys the array uses.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="buildCriteria" id="_buildCriteria">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
Criteria
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_buildCriteria">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2147-2175" title="Go to source code">buildCriteria</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Build a Criteria object containing the values of all modified columns in this
|
|
object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Build a Criteria object containing the values of all modified columns in this
|
|
object.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>Criteria</code><br>The Criteria object containing all modified values.<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="buildPkeyCriteria" id="_buildPkeyCriteria">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
Criteria
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_buildPkeyCriteria">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2177-2191" title="Go to source code">buildPkeyCriteria</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Builds a Criteria object containing the primary key for this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Builds a Criteria object containing the primary key for this object.</p>
|
|
|
|
<p>Unlike buildCriteria() this method includes the primary key values regardless
|
|
of whether or not they have been modified.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>Criteria</code><br>The Criteria object containing value(s) for primary key(s).<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getPrimaryKey" id="_getPrimaryKey">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getPrimaryKey">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2193-2200" title="Go to source code">getPrimaryKey</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the primary key for this object (row).</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the primary key for this object (row).</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setPrimaryKey" id="_setPrimaryKey">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setPrimaryKey">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2202-2211" title="Go to source code">setPrimaryKey</a>( <span>integer <var>$key</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Generic method to set the primary key (id column).</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Generic method to set the primary key (id column).</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$key</var></dt>
|
|
<dd><code>integer</code><br>$key Primary key.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="isPrimaryKeyNull" id="_isPrimaryKeyNull">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
boolean
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_isPrimaryKeyNull">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2213-2221" title="Go to source code">isPrimaryKeyNull</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns true if the primary key for this object is null.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns true if the primary key for this object is null.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>boolean</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="copyInto" id="_copyInto">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_copyInto">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2223-2334" title="Go to source code">copyInto</a>( <span>object <var>$copyObj</var></span>, <span>boolean <var>$deepCopy</var> = <span class="php-keyword1">false</span></span>, <span>boolean <var>$makeNew</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets contents of passed object to values from current object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets contents of passed object to values from current object.</p>
|
|
|
|
<p>If desired, this method can also make copies of all associated (fkey
|
|
referrers) objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$copyObj</var></dt>
|
|
<dd><code>object</code><br>$copyObj An object of Product (or compatible) type.</dd>
|
|
<dt><var>$deepCopy</var></dt>
|
|
<dd><code>boolean</code><br>$deepCopy Whether to also copy all rows that refer (by fkey) to the current row.</dd>
|
|
<dt><var>$makeNew</var></dt>
|
|
<dd><code>boolean</code><br>$makeNew Whether to reset autoincrement PKs and make the object new.</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="copy" id="_copy">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_copy">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2336-2356" title="Go to source code">copy</a>( <span>boolean <var>$deepCopy</var> = <span class="php-keyword1">false</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Makes a copy of this object that will be inserted as a new row in table when
|
|
saved. It creates a new object filling in the simple attributes, but skipping
|
|
any primary keys that are defined for the table.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Makes a copy of this object that will be inserted as a new row in table when
|
|
saved. It creates a new object filling in the simple attributes, but skipping
|
|
any primary keys that are defined for the table.</p>
|
|
|
|
<p>If desired, this method can also make copies of all associated (fkey
|
|
referrers) objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$deepCopy</var></dt>
|
|
<dd><code>boolean</code><br>$deepCopy Whether to also copy all rows that refer (by fkey) to the current row.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>Clone of current object.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getPeer" id="_getPeer">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductPeer.html">Thelia\Model\ProductPeer</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getPeer">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2358-2374" title="Go to source code">getPeer</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns a peer instance associated with this om.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns a peer instance associated with this om.</p>
|
|
|
|
<p>Since Peer classes are not to have any instance attributes, this method
|
|
returns the same instance for all member of this class. The method could
|
|
therefore be static, but this would prevent one from overriding the
|
|
behavior.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductPeer.html">Thelia\Model\ProductPeer</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setTaxRule" id="_setTaxRule">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setTaxRule">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2376-2401" title="Go to source code">setTaxRule</a>( <span><code><a href="class-Thelia.Model.TaxRule.html">Thelia\Model\TaxRule</a></code> <var>$v</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Declares an association between this object and a TaxRule object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Declares an association between this object and a TaxRule object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.TaxRule.html">Thelia\Model\TaxRule</a></code></code><br>$v</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getTaxRule" id="_getTaxRule">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.TaxRule.html">Thelia\Model\TaxRule</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getTaxRule">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2404-2425" title="Go to source code">getTaxRule</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the associated TaxRule object</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the associated TaxRule object</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional Connection object.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.TaxRule.html">Thelia\Model\TaxRule</a></code></code><br>The associated TaxRule object.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initRelation" id="_initRelation">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initRelation">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2428-2471" title="Go to source code">initRelation</a>( <span>string <var>$relationName</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes a collection based on the name of a relation. Avoids crafting an
|
|
'init[$relationName]s' method name that wouldn't work when
|
|
StandardEnglishPluralizer is used.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes a collection based on the name of a relation. Avoids crafting an
|
|
'init[$relationName]s' method name that wouldn't work when
|
|
StandardEnglishPluralizer is used.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$relationName</var></dt>
|
|
<dd><code>string</code><br>$relationName The name of the relation to initialize</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearProductCategorys" id="_clearProductCategorys">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearProductCategorys">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2473-2486" title="Go to source code">clearProductCategorys</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collProductCategorys collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collProductCategorys collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addProductCategorys()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialProductCategorys" id="_resetPartialProductCategorys">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialProductCategorys">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2488-2496" title="Go to source code">resetPartialProductCategorys</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collProductCategorys collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collProductCategorys collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initProductCategorys" id="_initProductCategorys">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initProductCategorys">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2498-2517" title="Go to source code">initProductCategorys</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collProductCategorys collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collProductCategorys collection.</p>
|
|
|
|
<p>By default this just sets the collProductCategorys collection to an empty
|
|
array (like clearcollProductCategorys()); however, you may wish to override this
|
|
method in your stub class to provide setting appropriate to your application --
|
|
for example, setting the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getProductCategorys" id="_getProductCategorys">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getProductCategorys">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2519-2574" title="Go to source code">getProductCategorys</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of ProductCategory objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of ProductCategory objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a>[]</code></code><br>List of ProductCategory objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setProductCategorys" id="_setProductCategorys">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setProductCategorys">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2576-2600" title="Go to source code">setProductCategorys</a>( <span>PropelCollection <var>$productCategorys</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of ProductCategory objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of ProductCategory objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productCategorys</var></dt>
|
|
<dd><code>PropelCollection</code><br>$productCategorys A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countProductCategorys" id="_countProductCategorys">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countProductCategorys">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2602-2633" title="Go to source code">countProductCategorys</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related ProductCategory objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related ProductCategory objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related ProductCategory objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addProductCategory" id="_addProductCategory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addProductCategory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2635-2653" title="Go to source code">addProductCategory</a>( <span><code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a ProductCategory object to this object through
|
|
the ProductCategory foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a ProductCategory object to this object through
|
|
the ProductCategory foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a></code></code><br>$l ProductCategory</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddProductCategory" id="_doAddProductCategory">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddProductCategory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2655-2662" title="Go to source code">doAddProductCategory</a>( <span><code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a></code> <var>$productCategory</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productCategory</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a></code></code><br>$productCategory The productCategory object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeProductCategory" id="_removeProductCategory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeProductCategory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2664-2678" title="Go to source code">removeProductCategory</a>( <span><code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a></code> <var>$productCategory</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productCategory</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a></code></code><br>$productCategory The productCategory object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getProductCategorysJoinCategory" id="_getProductCategorysJoinCategory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getProductCategorysJoinCategory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2681-2703" title="Go to source code">getProductCategorysJoinCategory</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related ProductCategorys from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related ProductCategorys from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a>[]</code></code><br>List of ProductCategory objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearFeatureProds" id="_clearFeatureProds">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearFeatureProds">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2705-2718" title="Go to source code">clearFeatureProds</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collFeatureProds collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collFeatureProds collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addFeatureProds()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialFeatureProds" id="_resetPartialFeatureProds">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialFeatureProds">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2720-2728" title="Go to source code">resetPartialFeatureProds</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collFeatureProds collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collFeatureProds collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initFeatureProds" id="_initFeatureProds">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initFeatureProds">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2730-2749" title="Go to source code">initFeatureProds</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collFeatureProds collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collFeatureProds collection.</p>
|
|
|
|
<p>By default this just sets the collFeatureProds collection to an empty array
|
|
(like clearcollFeatureProds()); however, you may wish to override this method in
|
|
your stub class to provide setting appropriate to your application -- for
|
|
example, setting the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getFeatureProds" id="_getFeatureProds">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getFeatureProds">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2751-2806" title="Go to source code">getFeatureProds</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of FeatureProd objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of FeatureProd objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a>[]</code></code><br>List of FeatureProd objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setFeatureProds" id="_setFeatureProds">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setFeatureProds">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2808-2832" title="Go to source code">setFeatureProds</a>( <span>PropelCollection <var>$featureProds</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of FeatureProd objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of FeatureProd objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$featureProds</var></dt>
|
|
<dd><code>PropelCollection</code><br>$featureProds A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countFeatureProds" id="_countFeatureProds">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countFeatureProds">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2834-2865" title="Go to source code">countFeatureProds</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related FeatureProd objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related FeatureProd objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related FeatureProd objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addFeatureProd" id="_addFeatureProd">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addFeatureProd">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2867-2885" title="Go to source code">addFeatureProd</a>( <span><code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a FeatureProd object to this object through the
|
|
FeatureProd foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a FeatureProd object to this object through the
|
|
FeatureProd foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a></code></code><br>$l FeatureProd</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddFeatureProd" id="_doAddFeatureProd">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddFeatureProd">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2887-2894" title="Go to source code">doAddFeatureProd</a>( <span><code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a></code> <var>$featureProd</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$featureProd</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a></code></code><br>$featureProd The featureProd object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeFeatureProd" id="_removeFeatureProd">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeFeatureProd">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2896-2910" title="Go to source code">removeFeatureProd</a>( <span><code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a></code> <var>$featureProd</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$featureProd</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a></code></code><br>$featureProd The featureProd object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getFeatureProdsJoinFeature" id="_getFeatureProdsJoinFeature">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getFeatureProdsJoinFeature">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2913-2935" title="Go to source code">getFeatureProdsJoinFeature</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related FeatureProds from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related FeatureProds from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a>[]</code></code><br>List of FeatureProd objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getFeatureProdsJoinFeatureAv" id="_getFeatureProdsJoinFeatureAv">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getFeatureProdsJoinFeatureAv">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2938-2960" title="Go to source code">getFeatureProdsJoinFeatureAv</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related FeatureProds from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related FeatureProds from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a>[]</code></code><br>List of FeatureProd objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearStocks" id="_clearStocks">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearStocks">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2962-2975" title="Go to source code">clearStocks</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collStocks collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collStocks collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addStocks()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialStocks" id="_resetPartialStocks">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialStocks">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2977-2985" title="Go to source code">resetPartialStocks</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collStocks collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collStocks collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initStocks" id="_initStocks">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initStocks">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#2987-3006" title="Go to source code">initStocks</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collStocks collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collStocks collection.</p>
|
|
|
|
<p>By default this just sets the collStocks collection to an empty array (like
|
|
clearcollStocks()); however, you may wish to override this method in your stub
|
|
class to provide setting appropriate to your application -- for example, setting
|
|
the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getStocks" id="_getStocks">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getStocks">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3008-3063" title="Go to source code">getStocks</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of Stock objects which contain a foreign key that references
|
|
this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of Stock objects which contain a foreign key that references
|
|
this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a>[]</code></code><br>List of Stock objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setStocks" id="_setStocks">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setStocks">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3065-3089" title="Go to source code">setStocks</a>( <span>PropelCollection <var>$stocks</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of Stock objects related by a one-to-many relationship to
|
|
the current object. It will also schedule objects for deletion based on a diff
|
|
between old objects (aka persisted) and new objects from the given Propel
|
|
collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of Stock objects related by a one-to-many relationship to
|
|
the current object. It will also schedule objects for deletion based on a diff
|
|
between old objects (aka persisted) and new objects from the given Propel
|
|
collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$stocks</var></dt>
|
|
<dd><code>PropelCollection</code><br>$stocks A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countStocks" id="_countStocks">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countStocks">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3091-3122" title="Go to source code">countStocks</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related Stock objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related Stock objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related Stock objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addStock" id="_addStock">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addStock">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3124-3142" title="Go to source code">addStock</a>( <span><code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a Stock object to this object through the Stock
|
|
foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a Stock object to this object through the Stock
|
|
foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a></code></code><br>$l Stock</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddStock" id="_doAddStock">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddStock">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3144-3151" title="Go to source code">doAddStock</a>( <span><code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a></code> <var>$stock</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$stock</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a></code></code><br>$stock The stock object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeStock" id="_removeStock">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeStock">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3153-3167" title="Go to source code">removeStock</a>( <span><code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a></code> <var>$stock</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$stock</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a></code></code><br>$stock The stock object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getStocksJoinCombination" id="_getStocksJoinCombination">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getStocksJoinCombination">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3170-3192" title="Go to source code">getStocksJoinCombination</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Stocks from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Stocks from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a>[]</code></code><br>List of Stock objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearContentAssocs" id="_clearContentAssocs">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearContentAssocs">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3194-3207" title="Go to source code">clearContentAssocs</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collContentAssocs collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collContentAssocs collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addContentAssocs()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialContentAssocs" id="_resetPartialContentAssocs">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialContentAssocs">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3209-3217" title="Go to source code">resetPartialContentAssocs</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collContentAssocs collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collContentAssocs collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initContentAssocs" id="_initContentAssocs">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initContentAssocs">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3219-3238" title="Go to source code">initContentAssocs</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collContentAssocs collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collContentAssocs collection.</p>
|
|
|
|
<p>By default this just sets the collContentAssocs collection to an empty array
|
|
(like clearcollContentAssocs()); however, you may wish to override this method
|
|
in your stub class to provide setting appropriate to your application -- for
|
|
example, setting the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getContentAssocs" id="_getContentAssocs">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getContentAssocs">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3240-3295" title="Go to source code">getContentAssocs</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of ContentAssoc objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of ContentAssoc objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a>[]</code></code><br>List of ContentAssoc objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setContentAssocs" id="_setContentAssocs">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setContentAssocs">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3297-3321" title="Go to source code">setContentAssocs</a>( <span>PropelCollection <var>$contentAssocs</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of ContentAssoc objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of ContentAssoc objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$contentAssocs</var></dt>
|
|
<dd><code>PropelCollection</code><br>$contentAssocs A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countContentAssocs" id="_countContentAssocs">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countContentAssocs">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3323-3354" title="Go to source code">countContentAssocs</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related ContentAssoc objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related ContentAssoc objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related ContentAssoc objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addContentAssoc" id="_addContentAssoc">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addContentAssoc">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3356-3374" title="Go to source code">addContentAssoc</a>( <span><code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a ContentAssoc object to this object through the
|
|
ContentAssoc foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a ContentAssoc object to this object through the
|
|
ContentAssoc foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a></code></code><br>$l ContentAssoc</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddContentAssoc" id="_doAddContentAssoc">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddContentAssoc">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3376-3383" title="Go to source code">doAddContentAssoc</a>( <span><code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a></code> <var>$contentAssoc</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$contentAssoc</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a></code></code><br>$contentAssoc The contentAssoc object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeContentAssoc" id="_removeContentAssoc">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeContentAssoc">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3385-3399" title="Go to source code">removeContentAssoc</a>( <span><code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a></code> <var>$contentAssoc</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$contentAssoc</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a></code></code><br>$contentAssoc The contentAssoc object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getContentAssocsJoinCategory" id="_getContentAssocsJoinCategory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getContentAssocsJoinCategory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3402-3424" title="Go to source code">getContentAssocsJoinCategory</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related ContentAssocs from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related ContentAssocs from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a>[]</code></code><br>List of ContentAssoc objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getContentAssocsJoinContent" id="_getContentAssocsJoinContent">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getContentAssocsJoinContent">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3427-3449" title="Go to source code">getContentAssocsJoinContent</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related ContentAssocs from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related ContentAssocs from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a>[]</code></code><br>List of ContentAssoc objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearImages" id="_clearImages">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearImages">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3451-3464" title="Go to source code">clearImages</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collImages collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collImages collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addImages()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialImages" id="_resetPartialImages">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialImages">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3466-3474" title="Go to source code">resetPartialImages</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collImages collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collImages collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initImages" id="_initImages">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initImages">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3476-3495" title="Go to source code">initImages</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collImages collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collImages collection.</p>
|
|
|
|
<p>By default this just sets the collImages collection to an empty array (like
|
|
clearcollImages()); however, you may wish to override this method in your stub
|
|
class to provide setting appropriate to your application -- for example, setting
|
|
the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getImages" id="_getImages">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getImages">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3497-3552" title="Go to source code">getImages</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of Image objects which contain a foreign key that references
|
|
this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of Image objects which contain a foreign key that references
|
|
this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code></code><br>List of Image objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setImages" id="_setImages">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setImages">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3554-3578" title="Go to source code">setImages</a>( <span>PropelCollection <var>$images</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of Image objects related by a one-to-many relationship to
|
|
the current object. It will also schedule objects for deletion based on a diff
|
|
between old objects (aka persisted) and new objects from the given Propel
|
|
collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of Image objects related by a one-to-many relationship to
|
|
the current object. It will also schedule objects for deletion based on a diff
|
|
between old objects (aka persisted) and new objects from the given Propel
|
|
collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$images</var></dt>
|
|
<dd><code>PropelCollection</code><br>$images A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countImages" id="_countImages">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countImages">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3580-3611" title="Go to source code">countImages</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related Image objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related Image objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related Image objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addImage" id="_addImage">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addImage">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3613-3631" title="Go to source code">addImage</a>( <span><code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a Image object to this object through the Image
|
|
foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a Image object to this object through the Image
|
|
foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a></code></code><br>$l Image</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddImage" id="_doAddImage">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddImage">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3633-3640" title="Go to source code">doAddImage</a>( <span><code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a></code> <var>$image</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$image</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a></code></code><br>$image The image object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeImage" id="_removeImage">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeImage">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3642-3656" title="Go to source code">removeImage</a>( <span><code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a></code> <var>$image</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$image</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a></code></code><br>$image The image object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getImagesJoinCategory" id="_getImagesJoinCategory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getImagesJoinCategory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3659-3681" title="Go to source code">getImagesJoinCategory</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Images from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Images from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code></code><br>List of Image objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getImagesJoinContent" id="_getImagesJoinContent">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getImagesJoinContent">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3684-3706" title="Go to source code">getImagesJoinContent</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Images from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Images from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code></code><br>List of Image objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getImagesJoinFolder" id="_getImagesJoinFolder">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getImagesJoinFolder">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3709-3731" title="Go to source code">getImagesJoinFolder</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Images from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Images from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code></code><br>List of Image objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearDocuments" id="_clearDocuments">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearDocuments">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3733-3746" title="Go to source code">clearDocuments</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collDocuments collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collDocuments collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addDocuments()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialDocuments" id="_resetPartialDocuments">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialDocuments">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3748-3756" title="Go to source code">resetPartialDocuments</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collDocuments collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collDocuments collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initDocuments" id="_initDocuments">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initDocuments">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3758-3777" title="Go to source code">initDocuments</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collDocuments collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collDocuments collection.</p>
|
|
|
|
<p>By default this just sets the collDocuments collection to an empty array
|
|
(like clearcollDocuments()); however, you may wish to override this method in
|
|
your stub class to provide setting appropriate to your application -- for
|
|
example, setting the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getDocuments" id="_getDocuments">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getDocuments">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3779-3834" title="Go to source code">getDocuments</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of Document objects which contain a foreign key that references
|
|
this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of Document objects which contain a foreign key that references
|
|
this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code></code><br>List of Document objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setDocuments" id="_setDocuments">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setDocuments">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3836-3860" title="Go to source code">setDocuments</a>( <span>PropelCollection <var>$documents</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of Document objects related by a one-to-many relationship
|
|
to the current object. It will also schedule objects for deletion based on a
|
|
diff between old objects (aka persisted) and new objects from the given Propel
|
|
collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of Document objects related by a one-to-many relationship
|
|
to the current object. It will also schedule objects for deletion based on a
|
|
diff between old objects (aka persisted) and new objects from the given Propel
|
|
collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$documents</var></dt>
|
|
<dd><code>PropelCollection</code><br>$documents A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countDocuments" id="_countDocuments">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countDocuments">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3862-3893" title="Go to source code">countDocuments</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related Document objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related Document objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related Document objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addDocument" id="_addDocument">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addDocument">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3895-3913" title="Go to source code">addDocument</a>( <span><code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a Document object to this object through the
|
|
Document foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a Document object to this object through the
|
|
Document foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a></code></code><br>$l Document</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddDocument" id="_doAddDocument">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddDocument">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3915-3922" title="Go to source code">doAddDocument</a>( <span><code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a></code> <var>$document</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$document</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a></code></code><br>$document The document object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeDocument" id="_removeDocument">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeDocument">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3924-3938" title="Go to source code">removeDocument</a>( <span><code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a></code> <var>$document</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$document</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a></code></code><br>$document The document object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getDocumentsJoinCategory" id="_getDocumentsJoinCategory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getDocumentsJoinCategory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3941-3963" title="Go to source code">getDocumentsJoinCategory</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Documents from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Documents from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code></code><br>List of Document objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getDocumentsJoinContent" id="_getDocumentsJoinContent">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getDocumentsJoinContent">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3966-3988" title="Go to source code">getDocumentsJoinContent</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Documents from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Documents from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code></code><br>List of Document objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getDocumentsJoinFolder" id="_getDocumentsJoinFolder">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getDocumentsJoinFolder">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#3991-4013" title="Go to source code">getDocumentsJoinFolder</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Documents from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Documents from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code></code><br>List of Document objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearAccessorysRelatedByProductId" id="_clearAccessorysRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearAccessorysRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4015-4028" title="Go to source code">clearAccessorysRelatedByProductId</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collAccessorysRelatedByProductId collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collAccessorysRelatedByProductId collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addAccessorysRelatedByProductId()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialAccessorysRelatedByProductId" id="_resetPartialAccessorysRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialAccessorysRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4030-4038" title="Go to source code">resetPartialAccessorysRelatedByProductId</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collAccessorysRelatedByProductId collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collAccessorysRelatedByProductId collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initAccessorysRelatedByProductId" id="_initAccessorysRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initAccessorysRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4040-4059" title="Go to source code">initAccessorysRelatedByProductId</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collAccessorysRelatedByProductId collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collAccessorysRelatedByProductId collection.</p>
|
|
|
|
<p>By default this just sets the collAccessorysRelatedByProductId collection to
|
|
an empty array (like clearcollAccessorysRelatedByProductId()); however, you may
|
|
wish to override this method in your stub class to provide setting appropriate
|
|
to your application -- for example, setting the initial array to the values
|
|
stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getAccessorysRelatedByProductId" id="_getAccessorysRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getAccessorysRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4061-4116" title="Go to source code">getAccessorysRelatedByProductId</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of Accessory objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of Accessory objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a>[]</code></code><br>List of Accessory objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setAccessorysRelatedByProductId" id="_setAccessorysRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setAccessorysRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4118-4142" title="Go to source code">setAccessorysRelatedByProductId</a>( <span>PropelCollection <var>$accessorysRelatedByProductId</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of AccessoryRelatedByProductId objects related by a
|
|
one-to-many relationship to the current object. It will also schedule objects
|
|
for deletion based on a diff between old objects (aka persisted) and new objects
|
|
from the given Propel collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of AccessoryRelatedByProductId objects related by a
|
|
one-to-many relationship to the current object. It will also schedule objects
|
|
for deletion based on a diff between old objects (aka persisted) and new objects
|
|
from the given Propel collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$accessorysRelatedByProductId</var></dt>
|
|
<dd><code>PropelCollection</code><br>$accessorysRelatedByProductId A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countAccessorysRelatedByProductId" id="_countAccessorysRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countAccessorysRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4144-4175" title="Go to source code">countAccessorysRelatedByProductId</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related Accessory objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related Accessory objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related Accessory objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addAccessoryRelatedByProductId" id="_addAccessoryRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addAccessoryRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4177-4195" title="Go to source code">addAccessoryRelatedByProductId</a>( <span><code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a Accessory object to this object through the
|
|
Accessory foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a Accessory object to this object through the
|
|
Accessory foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a></code></code><br>$l Accessory</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddAccessoryRelatedByProductId" id="_doAddAccessoryRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddAccessoryRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4197-4204" title="Go to source code">doAddAccessoryRelatedByProductId</a>( <span>AccessoryRelatedByProductId <var>$accessoryRelatedByProductId</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$accessoryRelatedByProductId</var></dt>
|
|
<dd><code>AccessoryRelatedByProductId</code><br>$accessoryRelatedByProductId The accessoryRelatedByProductId object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeAccessoryRelatedByProductId" id="_removeAccessoryRelatedByProductId">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeAccessoryRelatedByProductId">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4206-4220" title="Go to source code">removeAccessoryRelatedByProductId</a>( <span>AccessoryRelatedByProductId <var>$accessoryRelatedByProductId</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$accessoryRelatedByProductId</var></dt>
|
|
<dd><code>AccessoryRelatedByProductId</code><br>$accessoryRelatedByProductId The accessoryRelatedByProductId object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearAccessorysRelatedByAccessory" id="_clearAccessorysRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearAccessorysRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4222-4235" title="Go to source code">clearAccessorysRelatedByAccessory</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collAccessorysRelatedByAccessory collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collAccessorysRelatedByAccessory collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addAccessorysRelatedByAccessory()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialAccessorysRelatedByAccessory" id="_resetPartialAccessorysRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialAccessorysRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4237-4245" title="Go to source code">resetPartialAccessorysRelatedByAccessory</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collAccessorysRelatedByAccessory collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collAccessorysRelatedByAccessory collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initAccessorysRelatedByAccessory" id="_initAccessorysRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initAccessorysRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4247-4266" title="Go to source code">initAccessorysRelatedByAccessory</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collAccessorysRelatedByAccessory collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collAccessorysRelatedByAccessory collection.</p>
|
|
|
|
<p>By default this just sets the collAccessorysRelatedByAccessory collection to
|
|
an empty array (like clearcollAccessorysRelatedByAccessory()); however, you may
|
|
wish to override this method in your stub class to provide setting appropriate
|
|
to your application -- for example, setting the initial array to the values
|
|
stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getAccessorysRelatedByAccessory" id="_getAccessorysRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getAccessorysRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4268-4323" title="Go to source code">getAccessorysRelatedByAccessory</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of Accessory objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of Accessory objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a>[]</code></code><br>List of Accessory objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setAccessorysRelatedByAccessory" id="_setAccessorysRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setAccessorysRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4325-4349" title="Go to source code">setAccessorysRelatedByAccessory</a>( <span>PropelCollection <var>$accessorysRelatedByAccessory</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of AccessoryRelatedByAccessory objects related by a
|
|
one-to-many relationship to the current object. It will also schedule objects
|
|
for deletion based on a diff between old objects (aka persisted) and new objects
|
|
from the given Propel collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of AccessoryRelatedByAccessory objects related by a
|
|
one-to-many relationship to the current object. It will also schedule objects
|
|
for deletion based on a diff between old objects (aka persisted) and new objects
|
|
from the given Propel collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$accessorysRelatedByAccessory</var></dt>
|
|
<dd><code>PropelCollection</code><br>$accessorysRelatedByAccessory A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countAccessorysRelatedByAccessory" id="_countAccessorysRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countAccessorysRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4351-4382" title="Go to source code">countAccessorysRelatedByAccessory</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related Accessory objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related Accessory objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related Accessory objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addAccessoryRelatedByAccessory" id="_addAccessoryRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addAccessoryRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4384-4402" title="Go to source code">addAccessoryRelatedByAccessory</a>( <span><code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a Accessory object to this object through the
|
|
Accessory foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a Accessory object to this object through the
|
|
Accessory foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a></code></code><br>$l Accessory</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddAccessoryRelatedByAccessory" id="_doAddAccessoryRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddAccessoryRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4404-4411" title="Go to source code">doAddAccessoryRelatedByAccessory</a>( <span>AccessoryRelatedByAccessory <var>$accessoryRelatedByAccessory</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$accessoryRelatedByAccessory</var></dt>
|
|
<dd><code>AccessoryRelatedByAccessory</code><br>$accessoryRelatedByAccessory The accessoryRelatedByAccessory object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeAccessoryRelatedByAccessory" id="_removeAccessoryRelatedByAccessory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeAccessoryRelatedByAccessory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4413-4427" title="Go to source code">removeAccessoryRelatedByAccessory</a>( <span>AccessoryRelatedByAccessory <var>$accessoryRelatedByAccessory</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$accessoryRelatedByAccessory</var></dt>
|
|
<dd><code>AccessoryRelatedByAccessory</code><br>$accessoryRelatedByAccessory The accessoryRelatedByAccessory object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearRewritings" id="_clearRewritings">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearRewritings">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4429-4442" title="Go to source code">clearRewritings</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collRewritings collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collRewritings collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addRewritings()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialRewritings" id="_resetPartialRewritings">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialRewritings">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4444-4452" title="Go to source code">resetPartialRewritings</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collRewritings collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collRewritings collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initRewritings" id="_initRewritings">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initRewritings">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4454-4473" title="Go to source code">initRewritings</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collRewritings collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collRewritings collection.</p>
|
|
|
|
<p>By default this just sets the collRewritings collection to an empty array
|
|
(like clearcollRewritings()); however, you may wish to override this method in
|
|
your stub class to provide setting appropriate to your application -- for
|
|
example, setting the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getRewritings" id="_getRewritings">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getRewritings">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4475-4530" title="Go to source code">getRewritings</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of Rewriting objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of Rewriting objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code></code><br>List of Rewriting objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setRewritings" id="_setRewritings">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setRewritings">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4532-4556" title="Go to source code">setRewritings</a>( <span>PropelCollection <var>$rewritings</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of Rewriting objects related by a one-to-many relationship
|
|
to the current object. It will also schedule objects for deletion based on a
|
|
diff between old objects (aka persisted) and new objects from the given Propel
|
|
collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of Rewriting objects related by a one-to-many relationship
|
|
to the current object. It will also schedule objects for deletion based on a
|
|
diff between old objects (aka persisted) and new objects from the given Propel
|
|
collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$rewritings</var></dt>
|
|
<dd><code>PropelCollection</code><br>$rewritings A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countRewritings" id="_countRewritings">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countRewritings">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4558-4589" title="Go to source code">countRewritings</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related Rewriting objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related Rewriting objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related Rewriting objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addRewriting" id="_addRewriting">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addRewriting">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4591-4609" title="Go to source code">addRewriting</a>( <span><code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a Rewriting object to this object through the
|
|
Rewriting foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a Rewriting object to this object through the
|
|
Rewriting foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a></code></code><br>$l Rewriting</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddRewriting" id="_doAddRewriting">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddRewriting">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4611-4618" title="Go to source code">doAddRewriting</a>( <span><code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a></code> <var>$rewriting</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$rewriting</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a></code></code><br>$rewriting The rewriting object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeRewriting" id="_removeRewriting">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeRewriting">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4620-4634" title="Go to source code">removeRewriting</a>( <span><code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a></code> <var>$rewriting</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$rewriting</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a></code></code><br>$rewriting The rewriting object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getRewritingsJoinCategory" id="_getRewritingsJoinCategory">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getRewritingsJoinCategory">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4637-4659" title="Go to source code">getRewritingsJoinCategory</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Rewritings from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Rewritings from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code></code><br>List of Rewriting objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getRewritingsJoinFolder" id="_getRewritingsJoinFolder">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getRewritingsJoinFolder">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4662-4684" title="Go to source code">getRewritingsJoinFolder</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Rewritings from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Rewritings from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code></code><br>List of Rewriting objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getRewritingsJoinContent" id="_getRewritingsJoinContent">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getRewritingsJoinContent">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4687-4709" title="Go to source code">getRewritingsJoinContent</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$join_behavior</var> = Thelia\Model\om\Criteria::LEFT_JOIN</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Rewritings from storage.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>If this collection has already been initialized with an identical criteria,
|
|
it returns the collection. Otherwise if this Product is new, it will return an
|
|
empty collection; or if this Product has previously been saved, it will retrieve
|
|
related Rewritings from storage.</p>
|
|
|
|
<p>This method is protected by default in order to keep the public api
|
|
reasonable. You can provide public methods for those you actually need in
|
|
Product.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
<dt><var>$join_behavior</var></dt>
|
|
<dd><code>string</code><br>$join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code></code><br>List of Rewriting objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearProductI18ns" id="_clearProductI18ns">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearProductI18ns">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4711-4724" title="Go to source code">clearProductI18ns</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collProductI18ns collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collProductI18ns collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addProductI18ns()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialProductI18ns" id="_resetPartialProductI18ns">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialProductI18ns">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4726-4734" title="Go to source code">resetPartialProductI18ns</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collProductI18ns collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collProductI18ns collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initProductI18ns" id="_initProductI18ns">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initProductI18ns">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4736-4755" title="Go to source code">initProductI18ns</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collProductI18ns collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collProductI18ns collection.</p>
|
|
|
|
<p>By default this just sets the collProductI18ns collection to an empty array
|
|
(like clearcollProductI18ns()); however, you may wish to override this method in
|
|
your stub class to provide setting appropriate to your application -- for
|
|
example, setting the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getProductI18ns" id="_getProductI18ns">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getProductI18ns">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4757-4812" title="Go to source code">getProductI18ns</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of ProductI18n objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of ProductI18n objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a>[]</code></code><br>List of ProductI18n objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setProductI18ns" id="_setProductI18ns">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setProductI18ns">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4814-4838" title="Go to source code">setProductI18ns</a>( <span>PropelCollection <var>$productI18ns</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of ProductI18n objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of ProductI18n objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productI18ns</var></dt>
|
|
<dd><code>PropelCollection</code><br>$productI18ns A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countProductI18ns" id="_countProductI18ns">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countProductI18ns">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4840-4871" title="Go to source code">countProductI18ns</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related ProductI18n objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related ProductI18n objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related ProductI18n objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addProductI18n" id="_addProductI18n">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addProductI18n">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4873-4895" title="Go to source code">addProductI18n</a>( <span><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a ProductI18n object to this object through the
|
|
ProductI18n foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a ProductI18n object to this object through the
|
|
ProductI18n foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br>$l ProductI18n</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddProductI18n" id="_doAddProductI18n">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddProductI18n">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4897-4904" title="Go to source code">doAddProductI18n</a>( <span><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code> <var>$productI18n</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productI18n</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br>$productI18n The productI18n object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeProductI18n" id="_removeProductI18n">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeProductI18n">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4906-4920" title="Go to source code">removeProductI18n</a>( <span><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code> <var>$productI18n</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productI18n</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br>$productI18n The productI18n object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearProductVersions" id="_clearProductVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearProductVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4922-4935" title="Go to source code">clearProductVersions</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears out the collProductVersions collection</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears out the collProductVersions collection</p>
|
|
|
|
<p>This does not modify the database; however, it will remove any associated
|
|
objects, causing them to be refetched by subsequent calls to accessor
|
|
method.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>See</h4>
|
|
<div class="list">
|
|
addProductVersions()<br />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="resetPartialProductVersions" id="_resetPartialProductVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_resetPartialProductVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4937-4945" title="Go to source code">resetPartialProductVersions</a>( <span>mixed <var>$v</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>reset is the collProductVersions collection loaded partially</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>reset is the collProductVersions collection loaded partially</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="initProductVersions" id="_initProductVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_initProductVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4947-4966" title="Go to source code">initProductVersions</a>( <span>boolean <var>$overrideExisting</var> = <span class="php-keyword1">true</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Initializes the collProductVersions collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Initializes the collProductVersions collection.</p>
|
|
|
|
<p>By default this just sets the collProductVersions collection to an empty
|
|
array (like clearcollProductVersions()); however, you may wish to override this
|
|
method in your stub class to provide setting appropriate to your application --
|
|
for example, setting the initial array to the values stored in database.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$overrideExisting</var></dt>
|
|
<dd><code>boolean</code><br>$overrideExisting If set to true, the method call initializes the collection
|
|
even if it is not empty</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getProductVersions" id="_getProductVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getProductVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#4968-5023" title="Go to source code">getProductVersions</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets an array of ProductVersion objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets an array of ProductVersion objects which contain a foreign key that
|
|
references this object.</p>
|
|
|
|
<p>If the $criteria is not null, it is used to always fetch the results from the
|
|
database. Otherwise the results are fetched from the database the first time,
|
|
then cached. Next time the same method is called without $criteria, the cached
|
|
collection is returned. If this Product is new, it will return an empty
|
|
collection or the current collection; the criteria is ignored on a new
|
|
object.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria optional Criteria object to narrow the query</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection|<code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a>[]</code></code><br>List of ProductVersion objects<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setProductVersions" id="_setProductVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setProductVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5025-5049" title="Go to source code">setProductVersions</a>( <span>PropelCollection <var>$productVersions</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets a collection of ProductVersion objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets a collection of ProductVersion objects related by a one-to-many
|
|
relationship to the current object. It will also schedule objects for deletion
|
|
based on a diff between old objects (aka persisted) and new objects from the
|
|
given Propel collection.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productVersions</var></dt>
|
|
<dd><code>PropelCollection</code><br>$productVersions A Propel collection.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con Optional connection object</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="countProductVersions" id="_countProductVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_countProductVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5051-5082" title="Go to source code">countProductVersions</a>( <span>Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>boolean <var>$distinct</var> = <span class="php-keyword1">false</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the number of related ProductVersion objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the number of related ProductVersion objects.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code>Criteria</code><br>$criteria</dd>
|
|
<dt><var>$distinct</var></dt>
|
|
<dd><code>boolean</code><br>$distinct</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br>Count of related ProductVersion objects.<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addProductVersion" id="_addProductVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addProductVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5084-5102" title="Go to source code">addProductVersion</a>( <span><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code> <var>$l</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Method called to associate a ProductVersion object to this object through the
|
|
ProductVersion foreign key attribute.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Method called to associate a ProductVersion object to this object through the
|
|
ProductVersion foreign key attribute.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$l</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code></code><br>$l ProductVersion</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="doAddProductVersion" id="_doAddProductVersion">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_doAddProductVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5104-5111" title="Go to source code">doAddProductVersion</a>( <span><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code> <var>$productVersion</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productVersion</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code></code><br>$productVersion The productVersion object to add.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeProductVersion" id="_removeProductVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeProductVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5113-5127" title="Go to source code">removeProductVersion</a>( <span><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code> <var>$productVersion</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$productVersion</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code></code><br>$productVersion The productVersion object to remove.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clear" id="_clear">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clear">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5129-5158" title="Go to source code">clear</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Clears the current object and sets all attributes to their default values</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Clears the current object and sets all attributes to their default values</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="clearAllReferences" id="_clearAllReferences">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_clearAllReferences">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5160-5278" title="Go to source code">clearAllReferences</a>( <span>boolean <var>$deep</var> = <span class="php-keyword1">false</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Resets all references to other model objects or collections of model
|
|
objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Resets all references to other model objects or collections of model
|
|
objects.</p>
|
|
|
|
<p>This method is a user-space workaround for PHP's inability to garbage collect
|
|
objects with circular references (even in PHP 5.3). This is currently necessary
|
|
when using Propel in certain daemon or large-volumne/high-memory operations.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$deep</var></dt>
|
|
<dd><code>boolean</code><br>$deep Whether to also clear the references on all referrer objects.</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="__toString" id="___toString">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#___toString">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5280-5288" title="Go to source code">__toString</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>return the string representation of this object</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>return the string representation of this object</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="isAlreadyInSave" id="_isAlreadyInSave">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
boolean
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_isAlreadyInSave">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5290-5298" title="Go to source code">isAlreadyInSave</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>return true is the object is in saving state</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>return true is the object is in saving state</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>boolean</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="keepUpdateDateUnchanged" id="_keepUpdateDateUnchanged">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_keepUpdateDateUnchanged">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5302-5312" title="Go to source code">keepUpdateDateUnchanged</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Mark the current object so that the update date doesn't get updated during
|
|
next save</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Mark the current object so that the update date doesn't get updated during
|
|
next save</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setLocale" id="_setLocale">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setLocale">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5316-5328" title="Go to source code">setLocale</a>( <span>string <var>$locale</var> = <span class="php-quote">'en_EN'</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets the locale for translations</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets the locale for translations</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$locale</var></dt>
|
|
<dd><code>string</code><br>$locale Locale to use for the translation, e.g. 'fr_FR'</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getLocale" id="_getLocale">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getLocale">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5330-5338" title="Go to source code">getLocale</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets the locale for translations</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets the locale for translations</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br>$locale Locale to use for the translation, e.g. 'fr_FR'<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getTranslation" id="_getTranslation">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getTranslation">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5340-5372" title="Go to source code">getTranslation</a>( <span>string <var>$locale</var> = <span class="php-quote">'en_EN'</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the current translation for a given locale</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the current translation for a given locale</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$locale</var></dt>
|
|
<dd><code>string</code><br>$locale Locale to use for the translation, e.g. 'fr_FR'</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con an optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="removeTranslation" id="_removeTranslation">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_removeTranslation">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5374-5400" title="Go to source code">removeTranslation</a>( <span>string <var>$locale</var> = <span class="php-quote">'en_EN'</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Remove the translation for a given locale</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Remove the translation for a given locale</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$locale</var></dt>
|
|
<dd><code>string</code><br>$locale Locale to use for the translation, e.g. 'fr_FR'</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con an optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getCurrentTranslation" id="_getCurrentTranslation">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getCurrentTranslation">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5402-5411" title="Go to source code">getCurrentTranslation</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Returns the current translation</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Returns the current translation</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con an optional connection object</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getTitle" id="_getTitle">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getTitle">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5414-5422" title="Go to source code">getTitle</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [title] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [title] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setTitle" id="_setTitle">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setTitle">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5425-5435" title="Go to source code">setTitle</a>( <span>string <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [title] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [title] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>string</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getDescription" id="_getDescription">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getDescription">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5438-5446" title="Go to source code">getDescription</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [description] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [description] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setDescription" id="_setDescription">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setDescription">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5449-5459" title="Go to source code">setDescription</a>( <span>string <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [description] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [description] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>string</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getChapo" id="_getChapo">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getChapo">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5462-5470" title="Go to source code">getChapo</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [chapo] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [chapo] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setChapo" id="_setChapo">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setChapo">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5473-5483" title="Go to source code">setChapo</a>( <span>string <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [chapo] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [chapo] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>string</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getPostscriptum" id="_getPostscriptum">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getPostscriptum">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5486-5494" title="Go to source code">getPostscriptum</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Get the [postscriptum] column value.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Get the [postscriptum] column value.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setPostscriptum" id="_setPostscriptum">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setPostscriptum">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5497-5507" title="Go to source code">setPostscriptum</a>( <span>string <var>$v</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Set the value of [postscriptum] column.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Set the value of [postscriptum] column.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$v</var></dt>
|
|
<dd><code>string</code><br>$v new value</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="enforceVersioning" id="_enforceVersioning">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_enforceVersioning">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5511-5521" title="Go to source code">enforceVersioning</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Enforce a new Version of this object upon next save.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Enforce a new Version of this object upon next save.</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="isVersioningNecessary" id="_isVersioningNecessary">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
boolean
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_isVersioningNecessary">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5523-5545" title="Go to source code">isVersioningNecessary</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Checks whether the current state must be recorded as a version</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Checks whether the current state must be recorded as a version</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con An optional PropelPDO connection to use.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>boolean</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addVersion" id="_addVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5547-5580" title="Go to source code">addVersion</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Creates a version of the current object and saves it.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Creates a version of the current object and saves it.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code></code><br>A version object<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="toVersion" id="_toVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_toVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5582-5600" title="Go to source code">toVersion</a>( <span>integer <var>$versionNumber</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets the properties of the curent object to the value they had at a specific
|
|
version</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets the properties of the curent object to the value they had at a specific
|
|
version</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$versionNumber</var></dt>
|
|
<dd><code>integer</code><br>$versionNumber The version number to read</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>PropelException</code><br>- if no object with the given version can be found.<br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="populateFromVersion" id="_populateFromVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_populateFromVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5602-5634" title="Go to source code">populateFromVersion</a>( <span><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code> <var>$version</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>array <var>& $loadedObjects</var> = <span class="php-keyword1">array</span>()</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Sets the properties of the curent object to the value they had at a specific
|
|
version</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Sets the properties of the curent object to the value they had at a specific
|
|
version</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$version</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code></code><br>$version The version object to use</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
<dt><var>$loadedObjects</var></dt>
|
|
<dd><code>array</code><br>$loadedObjects objects thats been loaded in a chain of populateFromVersion calls
|
|
on referrer or fk objects.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.Product.html">Thelia\Model\Product</a></code></code><br>The current object (for fluent API support)<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getLastVersionNumber" id="_getLastVersionNumber">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
integer
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getLastVersionNumber">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5636-5654" title="Go to source code">getLastVersionNumber</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets the latest persisted version number for the current object</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets the latest persisted version number for the current object</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>integer</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="isLastVersion" id="_isLastVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
boolean
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_isLastVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5656-5666" title="Go to source code">isLastVersion</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Checks whether the current object is the latest one</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Checks whether the current object is the latest one</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>boolean</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getOneVersion" id="_getOneVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
<code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getOneVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5668-5682" title="Go to source code">getOneVersion</a>( <span>integer <var>$versionNumber</var></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Retrieves a version object for this entity and a version number</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Retrieves a version object for this entity and a version number</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$versionNumber</var></dt>
|
|
<dd><code>integer</code><br>$versionNumber The version number to read</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code><code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a></code></code><br>A version object<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getAllVersions" id="_getAllVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelObjectCollection
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getAllVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5684-5697" title="Go to source code">getAllVersions</a>( <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Gets all the versions of this object, in incremental order</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Gets all the versions of this object, in incremental order</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelObjectCollection</code><br>A list of ProductVersion objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="compareVersion" id="_compareVersion">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
array
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_compareVersion">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5699-5722" title="Go to source code">compareVersion</a>( <span>integer <var>$versionNumber</var></span>, <span>string <var>$keys</var> = <span class="php-quote">'columns'</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>array <var>$ignoredColumns</var> = <span class="php-keyword1">array</span>()</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Compares the current object with another of its version.</p>
|
|
|
|
<pre>
|
|
<span class="php-keyword2">print_r</span>(<span
|
|
class="php-var">$book</span>->compareVersion(<span
|
|
class="php-num">1</span>));
|
|
=> <span
|
|
class="php-keyword1">array</span>(
|
|
<span
|
|
class="php-quote">'1'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 1'</span>),
|
|
<span
|
|
class="php-quote">'2'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 2'</span>)
|
|
);
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Compares the current object with another of its version.</p>
|
|
|
|
<pre>
|
|
<span class="php-keyword2">print_r</span>(<span
|
|
class="php-var">$book</span>->compareVersion(<span
|
|
class="php-num">1</span>));
|
|
=> <span
|
|
class="php-keyword1">array</span>(
|
|
<span
|
|
class="php-quote">'1'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 1'</span>),
|
|
<span
|
|
class="php-quote">'2'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 2'</span>)
|
|
);
|
|
</pre>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$versionNumber</var></dt>
|
|
<dd><code>integer</code><br>$versionNumber</dd>
|
|
<dt><var>$keys</var></dt>
|
|
<dd><code>string</code><br>$keys Main key used for the result diff (versions|columns)</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
<dt><var>$ignoredColumns</var></dt>
|
|
<dd><code>array</code><br>$ignoredColumns The columns to exclude from the diff.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>array</code><br>A list of differences<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="compareVersions" id="_compareVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
array
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_compareVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5724-5748" title="Go to source code">compareVersions</a>( <span>integer <var>$fromVersionNumber</var></span>, <span>integer <var>$toVersionNumber</var></span>, <span>string <var>$keys</var> = <span class="php-quote">'columns'</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span>, <span>array <var>$ignoredColumns</var> = <span class="php-keyword1">array</span>()</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Compares two versions of the current object.</p>
|
|
|
|
<pre>
|
|
<span class="php-keyword2">print_r</span>(<span
|
|
class="php-var">$book</span>->compareVersions(<span
|
|
class="php-num">1</span>, <span class="php-num">2</span>));
|
|
=> <span
|
|
class="php-keyword1">array</span>(
|
|
<span
|
|
class="php-quote">'1'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 1'</span>),
|
|
<span
|
|
class="php-quote">'2'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 2'</span>)
|
|
);
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Compares two versions of the current object.</p>
|
|
|
|
<pre>
|
|
<span class="php-keyword2">print_r</span>(<span
|
|
class="php-var">$book</span>->compareVersions(<span
|
|
class="php-num">1</span>, <span class="php-num">2</span>));
|
|
=> <span
|
|
class="php-keyword1">array</span>(
|
|
<span
|
|
class="php-quote">'1'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 1'</span>),
|
|
<span
|
|
class="php-quote">'2'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 2'</span>)
|
|
);
|
|
</pre>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$fromVersionNumber</var></dt>
|
|
<dd><code>integer</code><br>$fromVersionNumber</dd>
|
|
<dt><var>$toVersionNumber</var></dt>
|
|
<dd><code>integer</code><br>$toVersionNumber</dd>
|
|
<dt><var>$keys</var></dt>
|
|
<dd><code>string</code><br>$keys Main key used for the result diff (versions|columns)</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con the connection to use</dd>
|
|
<dt><var>$ignoredColumns</var></dt>
|
|
<dd><code>array</code><br>$ignoredColumns The columns to exclude from the diff.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>array</code><br>A list of differences<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="computeDiff" id="_computeDiff">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
array
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_computeDiff">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5750-5798" title="Go to source code">computeDiff</a>( <span>array <var>$fromVersion</var></span>, <span>array <var>$toVersion</var></span>, <span>string <var>$keys</var> = <span class="php-quote">'columns'</span></span>, <span>array <var>$ignoredColumns</var> = <span class="php-keyword1">array</span>()</span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Computes the diff between two versions.</p>
|
|
|
|
<pre>
|
|
<span class="php-keyword2">print_r</span>(<span
|
|
class="php-var">$this</span>->computeDiff(<span
|
|
class="php-num">1</span>, <span class="php-num">2</span>));
|
|
=> <span
|
|
class="php-keyword1">array</span>(
|
|
<span
|
|
class="php-quote">'1'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 1'</span>),
|
|
<span
|
|
class="php-quote">'2'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 2'</span>)
|
|
);
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Computes the diff between two versions.</p>
|
|
|
|
<pre>
|
|
<span class="php-keyword2">print_r</span>(<span
|
|
class="php-var">$this</span>->computeDiff(<span
|
|
class="php-num">1</span>, <span class="php-num">2</span>));
|
|
=> <span
|
|
class="php-keyword1">array</span>(
|
|
<span
|
|
class="php-quote">'1'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 1'</span>),
|
|
<span
|
|
class="php-quote">'2'</span> => <span class="php-keyword1">array</span>(<span
|
|
class="php-quote">'Title'</span> => <span
|
|
class="php-quote">'Book title at version 2'</span>)
|
|
);
|
|
</pre>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$fromVersion</var></dt>
|
|
<dd><code>array</code><br>$fromVersion An array representing the original version.</dd>
|
|
<dt><var>$toVersion</var></dt>
|
|
<dd><code>array</code><br>$toVersion An array representing the destination version.</dd>
|
|
<dt><var>$keys</var></dt>
|
|
<dd><code>string</code><br>$keys Main key used for the result diff (versions|columns).</dd>
|
|
<dt><var>$ignoredColumns</var></dt>
|
|
<dd><code>array</code><br>$ignoredColumns The columns to exclude from the diff.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>array</code><br>A list of differences<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getLastVersions" id="_getLastVersions">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
PropelCollection|<code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a>[]</code>
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getLastVersions">#</a>
|
|
<code><a href="source-class-Thelia.Model.om.BaseProduct.html#5799-5815" title="Go to source code">getLastVersions</a>( <span>integer <var>$number</var> = <span class="php-num">10</span></span>, <span><code><a href="class-Thelia.Model.ProductVersionQuery.html">Thelia\Model\ProductVersionQuery</a></code>|Criteria <var>$criteria</var> = <span class="php-keyword1">null</span></span>, <span>PropelPDO <var>$con</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>retrieve the last $number versions.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>retrieve the last $number versions.</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$number</var></dt>
|
|
<dd><code>integer</code><br>$number the number of record to return.</dd>
|
|
<dt><var>$criteria</var></dt>
|
|
<dd><code><code><a href="class-Thelia.Model.ProductVersionQuery.html">Thelia\Model\ProductVersionQuery</a></code>|Criteria</code><br>$criteria Additional criteria to filter.</dd>
|
|
<dt><var>$con</var></dt>
|
|
<dd><code>PropelPDO</code><br>$con An optional connection to use.</dd>
|
|
</dl></div>
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>PropelCollection|<code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a>[]</code></code><br>List of ProductVersion objects<br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table class="summary" id="constants">
|
|
<caption>Constants summary</caption>
|
|
<tr data-order="PEER" id="PEER">
|
|
|
|
<td class="attributes"><code>string</code></td>
|
|
<td class="name"><code>
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#54-57" title="Go to source code"><b>PEER</b></a>
|
|
</code></td>
|
|
<td class="value"><code><span class="php-quote">'Thelia\\Model\\ProductPeer'</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#PEER" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Peer class name</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Peer class name</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<table class="summary" id="properties">
|
|
<caption>Properties summary</caption>
|
|
<tr data-order="peer" id="$peer">
|
|
<td class="attributes"><code>
|
|
protected static
|
|
<code><a href="class-Thelia.Model.ProductPeer.html">Thelia\Model\ProductPeer</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#59-65" title="Go to source code"><var>$peer</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$peer" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The Peer class. Instance provides a convenient way of calling static methods
|
|
on a class that calling code may not be able to identify.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The Peer class. Instance provides a convenient way of calling static methods
|
|
on a class that calling code may not be able to identify.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="startCopy" id="$startCopy">
|
|
<td class="attributes"><code>
|
|
protected
|
|
boolean
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#67-71" title="Go to source code"><var>$startCopy</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">false</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$startCopy" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The flag var to prevent infinit loop in deep copy</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The flag var to prevent infinit loop in deep copy</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="id" id="$id">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#73-77" title="Go to source code"><var>$id</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$id" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the id field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the id field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="tax_rule_id" id="$tax_rule_id">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#79-83" title="Go to source code"><var>$tax_rule_id</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$tax_rule_id" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the tax_rule_id field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the tax_rule_id field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="ref" id="$ref">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#85-89" title="Go to source code"><var>$ref</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$ref" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the ref field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the ref field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="price" id="$price">
|
|
<td class="attributes"><code>
|
|
protected
|
|
float
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#91-95" title="Go to source code"><var>$price</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$price" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the price field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the price field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="price2" id="$price2">
|
|
<td class="attributes"><code>
|
|
protected
|
|
float
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#97-101" title="Go to source code"><var>$price2</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$price2" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the price2 field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the price2 field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="ecotax" id="$ecotax">
|
|
<td class="attributes"><code>
|
|
protected
|
|
float
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#103-107" title="Go to source code"><var>$ecotax</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$ecotax" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the ecotax field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the ecotax field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="newness" id="$newness">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#109-114" title="Go to source code"><var>$newness</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$newness" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the newness field. Note: this column has a database default
|
|
value of: 0</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the newness field. Note: this column has a database default
|
|
value of: 0</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="promo" id="$promo">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#116-121" title="Go to source code"><var>$promo</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$promo" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the promo field. Note: this column has a database default value
|
|
of: 0</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the promo field. Note: this column has a database default value
|
|
of: 0</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="stock" id="$stock">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#123-128" title="Go to source code"><var>$stock</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$stock" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the stock field. Note: this column has a database default value
|
|
of: 0</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the stock field. Note: this column has a database default value
|
|
of: 0</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="visible" id="$visible">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#130-135" title="Go to source code"><var>$visible</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$visible" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the visible field. Note: this column has a database default
|
|
value of: 0</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the visible field. Note: this column has a database default
|
|
value of: 0</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="weight" id="$weight">
|
|
<td class="attributes"><code>
|
|
protected
|
|
float
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#137-141" title="Go to source code"><var>$weight</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$weight" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the weight field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the weight field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="position" id="$position">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#143-147" title="Go to source code"><var>$position</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$position" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the position field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the position field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="created_at" id="$created_at">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#149-153" title="Go to source code"><var>$created_at</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$created_at" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the created_at field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the created_at field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="updated_at" id="$updated_at">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#155-159" title="Go to source code"><var>$updated_at</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$updated_at" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the updated_at field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the updated_at field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="version" id="$version">
|
|
<td class="attributes"><code>
|
|
protected
|
|
integer
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#161-166" title="Go to source code"><var>$version</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$version" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the version field. Note: this column has a database default
|
|
value of: 0</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the version field. Note: this column has a database default
|
|
value of: 0</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="version_created_at" id="$version_created_at">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#168-172" title="Go to source code"><var>$version_created_at</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$version_created_at" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the version_created_at field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the version_created_at field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="version_created_by" id="$version_created_by">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#174-178" title="Go to source code"><var>$version_created_by</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$version_created_by" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>The value for the version_created_by field.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>The value for the version_created_by field.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="aTaxRule" id="$aTaxRule">
|
|
<td class="attributes"><code>
|
|
protected
|
|
<code><a href="class-Thelia.Model.TaxRule.html">Thelia\Model\TaxRule</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#180-183" title="Go to source code"><var>$aTaxRule</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$aTaxRule" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collProductCategorys" id="$collProductCategorys">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ProductCategory.html">Thelia\Model\ProductCategory</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#185-188" title="Go to source code"><var>$collProductCategorys</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collProductCategorys" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of ProductCategory objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of ProductCategory objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collProductCategorysPartial" id="$collProductCategorysPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#189" title="Go to source code"><var>$collProductCategorysPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collProductCategorysPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collFeatureProds" id="$collFeatureProds">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.FeatureProd.html">Thelia\Model\FeatureProd</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#191-194" title="Go to source code"><var>$collFeatureProds</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collFeatureProds" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of FeatureProd objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of FeatureProd objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collFeatureProdsPartial" id="$collFeatureProdsPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#195" title="Go to source code"><var>$collFeatureProdsPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collFeatureProdsPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collStocks" id="$collStocks">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Stock.html">Thelia\Model\Stock</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#197-200" title="Go to source code"><var>$collStocks</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collStocks" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of Stock objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of Stock objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collStocksPartial" id="$collStocksPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#201" title="Go to source code"><var>$collStocksPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collStocksPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collContentAssocs" id="$collContentAssocs">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ContentAssoc.html">Thelia\Model\ContentAssoc</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#203-206" title="Go to source code"><var>$collContentAssocs</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collContentAssocs" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of ContentAssoc objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of ContentAssoc objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collContentAssocsPartial" id="$collContentAssocsPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#207" title="Go to source code"><var>$collContentAssocsPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collContentAssocsPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collImages" id="$collImages">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Image.html">Thelia\Model\Image</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#209-212" title="Go to source code"><var>$collImages</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collImages" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of Image objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of Image objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collImagesPartial" id="$collImagesPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#213" title="Go to source code"><var>$collImagesPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collImagesPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collDocuments" id="$collDocuments">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Document.html">Thelia\Model\Document</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#215-218" title="Go to source code"><var>$collDocuments</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collDocuments" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of Document objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of Document objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collDocumentsPartial" id="$collDocumentsPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#219" title="Go to source code"><var>$collDocumentsPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collDocumentsPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collAccessorysRelatedByProductId" id="$collAccessorysRelatedByProductId">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#221-224" title="Go to source code"><var>$collAccessorysRelatedByProductId</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collAccessorysRelatedByProductId" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of Accessory objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of Accessory objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collAccessorysRelatedByProductIdPartial" id="$collAccessorysRelatedByProductIdPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#225" title="Go to source code"><var>$collAccessorysRelatedByProductIdPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collAccessorysRelatedByProductIdPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collAccessorysRelatedByAccessory" id="$collAccessorysRelatedByAccessory">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Accessory.html">Thelia\Model\Accessory</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#227-230" title="Go to source code"><var>$collAccessorysRelatedByAccessory</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collAccessorysRelatedByAccessory" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of Accessory objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of Accessory objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collAccessorysRelatedByAccessoryPartial" id="$collAccessorysRelatedByAccessoryPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#231" title="Go to source code"><var>$collAccessorysRelatedByAccessoryPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collAccessorysRelatedByAccessoryPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collRewritings" id="$collRewritings">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.Rewriting.html">Thelia\Model\Rewriting</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#233-236" title="Go to source code"><var>$collRewritings</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collRewritings" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of Rewriting objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of Rewriting objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collRewritingsPartial" id="$collRewritingsPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#237" title="Go to source code"><var>$collRewritingsPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collRewritingsPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collProductI18ns" id="$collProductI18ns">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ProductI18n.html">Thelia\Model\ProductI18n</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#239-242" title="Go to source code"><var>$collProductI18ns</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collProductI18ns" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of ProductI18n objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of ProductI18n objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collProductI18nsPartial" id="$collProductI18nsPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#243" title="Go to source code"><var>$collProductI18nsPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collProductI18nsPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collProductVersions" id="$collProductVersions">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection|<code><a href="class-Thelia.Model.ProductVersion.html">Thelia\Model\ProductVersion</a>[]</code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#245-248" title="Go to source code"><var>$collProductVersions</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collProductVersions" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Collection to store aggregation of ProductVersion objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Collection to store aggregation of ProductVersion objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="collProductVersionsPartial" id="$collProductVersionsPartial">
|
|
<td class="attributes"><code>
|
|
protected
|
|
mixed
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#249" title="Go to source code"><var>$collProductVersionsPartial</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$collProductVersionsPartial" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="alreadyInSave" id="$alreadyInSave">
|
|
<td class="attributes"><code>
|
|
protected
|
|
boolean
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#251-256" title="Go to source code"><var>$alreadyInSave</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">false</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$alreadyInSave" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Flag to prevent endless save loop, if this object is referenced by another
|
|
object which falls in this transaction.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Flag to prevent endless save loop, if this object is referenced by another
|
|
object which falls in this transaction.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="alreadyInValidation" id="$alreadyInValidation">
|
|
<td class="attributes"><code>
|
|
protected
|
|
boolean
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#258-263" title="Go to source code"><var>$alreadyInValidation</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">false</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$alreadyInValidation" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Flag to prevent endless validation loop, if this object is referenced by
|
|
another object which falls in this transaction.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Flag to prevent endless validation loop, if this object is referenced by
|
|
another object which falls in this transaction.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="currentLocale" id="$currentLocale">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#267-271" title="Go to source code"><var>$currentLocale</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-quote">'en_EN'</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$currentLocale" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Current locale</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Current locale</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="currentTranslations" id="$currentTranslations">
|
|
<td class="attributes"><code>
|
|
protected
|
|
array[ProductI18n]
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#273-277" title="Go to source code"><var>$currentTranslations</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$currentTranslations" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Current translation objects</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Current translation objects</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="enforceVersion" id="$enforceVersion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
boolean
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#282-285" title="Go to source code"><var>$enforceVersion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">false</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$enforceVersion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="productCategorysScheduledForDeletion" id="$productCategorysScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#287-291" title="Go to source code"><var>$productCategorysScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$productCategorysScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="featureProdsScheduledForDeletion" id="$featureProdsScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#293-297" title="Go to source code"><var>$featureProdsScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$featureProdsScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="stocksScheduledForDeletion" id="$stocksScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#299-303" title="Go to source code"><var>$stocksScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$stocksScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="contentAssocsScheduledForDeletion" id="$contentAssocsScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#305-309" title="Go to source code"><var>$contentAssocsScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$contentAssocsScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="imagesScheduledForDeletion" id="$imagesScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#311-315" title="Go to source code"><var>$imagesScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$imagesScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="documentsScheduledForDeletion" id="$documentsScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#317-321" title="Go to source code"><var>$documentsScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$documentsScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="accessorysRelatedByProductIdScheduledForDeletion" id="$accessorysRelatedByProductIdScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#323-327" title="Go to source code"><var>$accessorysRelatedByProductIdScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$accessorysRelatedByProductIdScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="accessorysRelatedByAccessoryScheduledForDeletion" id="$accessorysRelatedByAccessoryScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#329-333" title="Go to source code"><var>$accessorysRelatedByAccessoryScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$accessorysRelatedByAccessoryScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="rewritingsScheduledForDeletion" id="$rewritingsScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#335-339" title="Go to source code"><var>$rewritingsScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$rewritingsScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="productI18nsScheduledForDeletion" id="$productI18nsScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#341-345" title="Go to source code"><var>$productI18nsScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$productI18nsScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="productVersionsScheduledForDeletion" id="$productVersionsScheduledForDeletion">
|
|
<td class="attributes"><code>
|
|
protected
|
|
PropelObjectCollection
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#347-351" title="Go to source code"><var>$productVersionsScheduledForDeletion</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">null</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$productVersionsScheduledForDeletion" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>An array of objects scheduled for deletion.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="validationFailures" id="$validationFailures">
|
|
<td class="attributes"><code>
|
|
protected
|
|
array
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Model.om.BaseProduct.html#1682-1686" title="Go to source code"><var>$validationFailures</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">array</span>()</code></td>
|
|
<td class="description"><div>
|
|
<a href="#$validationFailures" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Array of ValidationFailed objects.</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Array of ValidationFailed objects.</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
thelia API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|