\core\admin\layout\dao\ThemeDao.php

Show: inherited
Table of Contents

Podium CMS http://code.google.com/p/podium/

Copyright (C) 2011-2012 Martin Cassidy martin.cassidy@webquub.com

Podium CMS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Podium CMS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the General Public License for more details.

You should have received a copy of the GNU General Public License along with Podium CMS. If not, see http://www.gnu.org/licenses/.

\ThemeDao

Package: Default

Database access object for working with themes

Parent(s)
\AbstractDao < \picon\DaoSupport
Author
Martin Cassidy  
Repository
 

Constants

Constant  THEME_ELEMENT_TYPE_ARRAY = 'array'
Constant  THEME_ELEMENT_TYPE_OBJECT = 'object'

Methods

methodpubliccreateTheme(  $name ) : void

Parameters
Name Type Description
$name
methodpubliccreateThemeAttribute(  $elementId,  $name,  $value ) : void

Parameters
Name Type Description
$elementId
$name
$value
methodpubliccreateThemeElement(  $name,  $themeId,  $type,  $class,  $index = null,  $parent_element = null ) : void

Parameters
Name Type Description
$name
$themeId
$type
$class
$index
$parent_element
methodpublicdelete(  $id ) : void

Parameters
Name Type Description
$id
methodpublicdeleteAttributes(  $elementId ) : void

Parameters
Name Type Description
$elementId
methodpublicdeleteElement(  $elementId ) : void

Parameters
Name Type Description
$elementId
methodpublicgetAttribute(  $elementId ) : void

Parameters
Name Type Description
$elementId
methodpublicgetElements(  $themeId,  $parent = null ) : void

Parameters
Name Type Description
$themeId
$parent
methodpublicgetTheme(  $themeId ) : void

Parameters
Name Type Description
$themeId
methodpublicgetThemeByName(  $name ) : void

Parameters
Name Type Description
$name
methodpublicgetThemeSize( ) : void

methodpublicgetThemeUseageCount(  $themeId ) : void

Parameters
Name Type Description
$themeId
methodpublicgetThemes(  $start,  $count ) : void

Parameters
Name Type Description
$start
$count
methodprotectedinit( ) : void
inherited

Inherited from: \AbstractDao::init()
methodpublicupdateTheme(  $name,  $id ) : void

Parameters
Name Type Description
$name
$id
Documentation was generated by DocBlox 0.15.1.