PHP Класс 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 .
Автор: https://intelliants.com/ ([email protected])
Наследование: extends abstractPlugin
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_menusTable
$_pagesTable
$_positions
$_positionsTable
$_table
$_types

Открытые методы

Метод Описание
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 )

Защищенные методы

Метод Описание
_preparePages ( $pagesList )

Описание методов

_preparePages() защищенный Метод

protected _preparePages ( $pagesList )

delete() публичный Метод

public delete ( $id, $log = true )

getMenusTable() публичный статический Метод

public static getMenusTable ( )

getPagesTable() публичный статический Метод

public static getPagesTable ( )

getPositions() публичный Метод

public getPositions ( )

getTypes() публичный Метод

public getTypes ( )

insert() публичный Метод

Insert block
public insert ( array $blockData ) : boolean | integer
$blockData array
Результат boolean | integer

setVisibility() публичный Метод

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

update() публичный Метод

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

Описание свойств

$_menusTable защищенное статическое свойство

protected static $_menusTable

$_pagesTable защищенное статическое свойство

protected static $_pagesTable

$_positions защищенное свойство

protected $_positions

$_positionsTable защищенное статическое свойство

protected static $_positionsTable

$_table защищенное статическое свойство

protected static $_table

$_types защищенное свойство

protected $_types