PHP 클래스 Sesha_Entity_PropertyMapper, horde

Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
저자: Ralf Lang ([email protected])
상속: extends Horde_Rdo_Mapper
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_lazyRelationships array Relationships loaded on-demand
$_table string Inflector doesn't support Horde-style tables yet

공개 메소드들

메소드 설명
create ( array $property ) : Sesha_Entity_Property Creates a property definition in the backend.
delete ( string | Sesha_Entity_Property | Horde_Rdo_Query $object ) : integer Deletes a property definition from the backend. $object can be either a primary key, an Rdo_Query object, or a Sesha_Entity_Property object.

메소드 상세

create() 공개 메소드

This wraps folding of the 'parameters' structure
public create ( array $property ) : Sesha_Entity_Property
$property array An array with the property definition. Keys may be property_id Integer (autogenerated) property string The property name datatype string The property type parameters mixed Type definition parameters will be serialized unit string The unit to display description string priority integer
리턴 Sesha_Entity_Property The property created.

delete() 공개 메소드

This also cleans up attachment attributes of this property type and category links
public delete ( string | Sesha_Entity_Property | Horde_Rdo_Query $object ) : integer
$object string | Sesha_Entity_Property | Horde_Rdo_Query The Rdo object, Horde_Rdo_Query, or unique id to delete.
리턴 integer Number of objects deleted.

프로퍼티 상세

$_lazyRelationships 보호되어 있는 프로퍼티

Relationships loaded on-demand
protected array $_lazyRelationships
리턴 array

$_table 보호되어 있는 프로퍼티

Inflector doesn't support Horde-style tables yet
protected string $_table
리턴 string