PHP 클래스 Pastie_Driver_Rdo, horde
Required values for $params:
'db' The Horde_Db adapter
Copyright 2012-2016 Horde LLC (http://www.horde.org/)
Based on the original Sql driver by Ben Klang
See the enclosed file LICENSE for license information (BSD). If you
did not receive this file, see http://www.horde.org/licenses/bsd.
파일 보기
프로젝트 열기: horde/horde
보호된 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$_db |
DB |
Handle for the database connection. |
|
$_mappers |
Horde_Rdo_Factory |
The mapper factory |
|
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
_fromBackend ( array | Pastie_Entity_Paste $paste ) : an |
Convert a backend hash or object to an application context hash. |
|
메소드 상세
This is the basic constructor for the Rdo driver.
This is ugly and may be redesigned or refactored
protected _fromBackend ( array | Pastie_Entity_Paste $paste ) : an |
$paste |
array | Pastie_Entity_Paste |
A paste hash or Rdo object. |
리턴 |
an |
application context hash |
Retrieves the paste from the database.
get any number of pastes from a bin, ordered by date, narrowed by limit and offset
Create a new paste in backend.
프로퍼티 상세
Handle for the database connection.
protected Horde_Rdo_Factory $_mappers |
리턴 |
Horde_Rdo_Factory |
|