PHP Class iaBlock

Subrion - open source content management system Copyright (C) 2016 Intelliants, LLC This file is part of Subrion. Subrion 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. Subrion 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 GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Subrion. If not, see .
Author: https://intelliants.com/ ([email protected])
Inheritance: extends abstractPlugin
Afficher le fichier Open project: intelliants/subrion Class Usage Examples

Protected Properties

Свойство Type Description
$_menusTable
$_pagesTable
$_positions
$_positionsTable
$_table
$_types

Méthodes publiques

Méthode Description
delete ( $id, $log = true )
getMenusTable ( )
getPagesTable ( )
getPositions ( )
getTypes ( )
insert ( array $blockData ) : boolean | integer Insert block
setVisibility ( $blockId, $visibility, array $pages = [], $reset = true )
update ( array $itemData, $id )

Méthodes protégées

Méthode Description
_preparePages ( $pagesList )

Method Details

_preparePages() protected méthode

protected _preparePages ( $pagesList )

delete() public méthode

public delete ( $id, $log = true )

getMenusTable() public static méthode

public static getMenusTable ( )

getPagesTable() public static méthode

public static getPagesTable ( )

getPositions() public méthode

public getPositions ( )

getTypes() public méthode

public getTypes ( )

insert() public méthode

Insert block
public insert ( array $blockData ) : boolean | integer
$blockData array
Résultat boolean | integer

setVisibility() public méthode

public setVisibility ( $blockId, $visibility, array $pages = [], $reset = true )
$pages array

update() public méthode

public update ( array $itemData, $id )
$itemData array

Property Details

$_menusTable protected_oe static_oe property

protected static $_menusTable

$_pagesTable protected_oe static_oe property

protected static $_pagesTable

$_positions protected_oe property

protected $_positions

$_positionsTable protected_oe static_oe property

protected static $_positionsTable

$_table protected_oe static_oe property

protected static $_table

$_types protected_oe property

protected $_types