• API
  • -
  • Redaxscript\Model

Article

  • Namespace: \Redaxscript\Model
  • Description: parent class to provide the article model
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
_tableprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
getByAliaspublicget the article by alias
countByCategoryAndLanguagepubliccount the articles by category and language
getSiblingByCategoryAndLanguageAndOrderAndSteppublicget the siblings by category and language and order and step
getRouteByIdpublicget the article route by id
getAllByOrderpublicget all by order
getByLanguageAndOrderpublicget the content by language and order
getSiblingByIdAndLanguageAndOrderpublicget the sibling by id and language and order
getSiblingArrayByIdpublicget sibling array by id
publishByDatepublicpublish by date
getByIdpublicget the item by id
getAllpublicget all
querypublicquery the table
clearCachepublicclear cache for the table
MethodVisibilityDescription

Category

  • Namespace: \Redaxscript\Model
  • Description: parent class to provide the category model
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
_tableprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
getByAliaspublicget the category by alias
getRouteByIdpublicget the category route by id
getAllByOrderpublicget all by order
getByLanguageAndOrderpublicget the content by language and order
getSiblingByIdAndLanguageAndOrderpublicget the sibling by id and language and order
getSiblingArrayByIdpublicget sibling array by id
publishByDatepublicpublish by date
getByIdpublicget the item by id
getAllpublicget all
querypublicquery the table
clearCachepublicclear cache for the table
MethodVisibilityDescription

Comment

  • Namespace: \Redaxscript\Model
  • Description: parent class to provide the comment model
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
_tableprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
countByArticleAndLanguagepubliccount the comments by article and language
getByArticleAndLanguageAndOrderAndSteppublicget the articles by category and language and order and step
getRouteByIdpublicget the comment route by id
createByArraypubliccreate the comment by array
getAllByOrderpublicget all by order
getByLanguageAndOrderpublicget the content by language and order
getSiblingByIdAndLanguageAndOrderpublicget the sibling by id and language and order
getSiblingArrayByIdpublicget sibling array by id
publishByDatepublicpublish by date
getByIdpublicget the item by id
getAllpublicget all
querypublicquery the table
clearCachepublicclear cache for the table
MethodVisibilityDescription

Content

  • Namespace: \Redaxscript\Model
  • Description: parent class to provide the content model
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
getTableByAliaspublicget the content table by alias
getByTableAndIdpublicget the content by table and id
getRouteByTableAndIdpublicget the content route by table and id
MethodVisibilityDescription

ContentAbstract

  • Namespace: \Redaxscript\Model
  • Description: abstract class to create a model class
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
getAllByOrderpublicget all by order
getByLanguageAndOrderpublicget the content by language and order
getSiblingByIdAndLanguageAndOrderpublicget the sibling by id and language and order
getSiblingArrayByIdpublicget sibling array by id
publishByDatepublicpublish by date
getByIdpublicget the item by id
getAllpublicget all
querypublicquery the table
clearCachepublicclear cache for the table
MethodVisibilityDescription

Extra

  • Namespace: \Redaxscript\Model
  • Description: parent class to provide the extra model
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
_tableprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
getByAliaspublicget the extra by alias
getAllByOrderpublicget all by order
getByLanguageAndOrderpublicget the content by language and order
getSiblingByIdAndLanguageAndOrderpublicget the sibling by id and language and order
getSiblingArrayByIdpublicget sibling array by id
publishByDatepublicpublish by date
getByIdpublicget the item by id
getAllpublicget all
querypublicquery the table
clearCachepublicclear cache for the table
MethodVisibilityDescription

Group

  • Namespace: \Redaxscript\Model
  • Description: parent class to provide the group model
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
_tableprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
getByAliaspublicget the group by alias
getByIdpublicget the item by id
getAllpublicget all
querypublicquery the table
clearCachepublicclear cache for the table
MethodVisibilityDescription

ModelAbstract

  • Namespace: \Redaxscript\Model
  • Description: abstract class to create a model class
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
_tableprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
getByIdpublicget the item by id
getAllpublicget all
querypublicquery the table
clearCachepublicclear cache for the table
MethodVisibilityDescription

Module

  • Namespace: \Redaxscript\Model
  • Description: parent class to provide the module model
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
_tableprotected
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
createByArraypubliccreate the module by array
deleteByAliaspublicdelete the module by alias
getByIdpublicget the item by id
getAllpublicget all
querypublicquery the table
clearCachepublicclear cache for the table
MethodVisibilityDescription

Search

  • Namespace: \Redaxscript\Model
  • Description: parent class to provide the search model
  • Package: Redaxscript
  • Category: Model
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
No property present
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
getByTablepublicget the search by table
_createColumnArrayprotectedcreate the column array
_createLikeArrayprotectedcreate the like array
MethodVisibilityDescription