PHP Class skeeks\cms\models\searchs\SearchRelatedPropertiesModel

Inheritance: extends yii\base\DynamicModel
Mostrar archivo Open project: skeeks-cms/cms Class Usage Examples

Public Properties

Property Type Description
$cmsContent skeeks\cms\models\CmsContent TODO: IS DEPRECATED > 3.0
$prefixRange
$properties skeeks\cms\models\CmsContentProperty[]
$propertyElementClassName string

Public Methods

Method Description
attributeLabels ( ) : array
getAttributeNameRangeFrom ( $propertyCode ) : string
getAttributeNameRangeTo ( $propertyCode ) : string
getProperty ( $code ) : CmsContentProperty
initCmsContent ( CmsContent $cmsContent ) TODO: IS DEPRECATED > 3.0
initProperties ( $props = [] )
isAttributeRange ( $propertyCode ) : boolean
search ( ActiveDataProvider $activeDataProvider, $tableName = 'cms_content_element' )

Method Details

attributeLabels() public method

public attributeLabels ( ) : array
return array

getAttributeNameRangeFrom() public method

public getAttributeNameRangeFrom ( $propertyCode ) : string
$propertyCode
return string

getAttributeNameRangeTo() public method

public getAttributeNameRangeTo ( $propertyCode ) : string
$propertyCode
return string

getProperty() public method

public getProperty ( $code ) : CmsContentProperty
$code
return skeeks\cms\models\CmsContentProperty

initCmsContent() public method

TODO: IS DEPRECATED > 3.0
public initCmsContent ( CmsContent $cmsContent )
$cmsContent skeeks\cms\models\CmsContent

initProperties() public method

public initProperties ( $props = [] )

isAttributeRange() public method

public isAttributeRange ( $propertyCode ) : boolean
$propertyCode
return boolean

Property Details

$cmsContent public_oe property

TODO: IS DEPRECATED > 3.0
public CmsContent,skeeks\cms\models $cmsContent
return skeeks\cms\models\CmsContent

$prefixRange public_oe property

public $prefixRange

$properties public_oe property

public CmsContentProperty[],skeeks\cms\models $properties
return skeeks\cms\models\CmsContentProperty[]

$propertyElementClassName public_oe property

public string $propertyElementClassName
return string