'paste', 'fields' => array( array( 'table_field' => 'user_id', 'property_name' => 'OwnerId'), array( 'table_field' => 'username', 'property_name' => 'Username'), array( 'table_field' => 'name', 'property_name' => 'Name'), array( 'table_field' => 'description', 'property_name' => 'Description'), array( 'table_field' => 'content', 'property_name' => 'Content'), array( 'table_field' => 'public', 'property_name' => 'Public'), array( 'table_field' => 'parent_id', 'property_name' => 'ParentId'), array( 'table_field' => 'creation_stamp', 'property_name' => 'Timestamp'), array( 'table_field' => 'expiration_stamp', 'property_name' => 'Expiration') ) ); } /** * @see $_name */ function getName() { return $this->_name; } /** * @see $_name */ function setName($name) { $this->_name = $name; } /** * @see $_description */ function getDescription() { return $this->_description; } /** * @see $_description */ function setDescription($description) { $this->_description = $description; } /** * @see $_ownerId */ function getOwnerId() { return $this->_ownerId; } /** * @see $_ownerId */ function setOwnerId($ownerId) { $this->_ownerId = $ownerId; } /** * @see $_highlight */ function getHighlighter() { return $this->_highlight; } /** * @see $_highlight */ function setHighlighter($highlighter) { $this->_highlight = $highlighter; } /** * @see $_content */ function getContent() { return $this->_content; } /** * @see $_content */ function setContent($content) { $this->_content = $content; } /** * @see $_public */ function isPublic() { return $this->_public; } /** * Alias for isPublic(), to be used by the persistancy framework. * @see Paste->isPublic() */ function getPublic() { return $this->isPublic(); } /** * @see $_public */ function setPublic($public) { $this->_public = $public; } /** * @see $_parentId */ function getParentId() { return $this->_parentId; } /** * @see $_parentId */ function setParentId($parentId) { $this->_parentId = $parentId; } /** * @see $_timestamp */ function getTimestamp() { return $this->_timestamp; } /** * @see $_timestamp */ function setTimestamp($timestamp) { $this->_timestamp = $timestamp; } /** * @see $_expiration */ function getExpiration() { return $this->_expiration; } /** * @see $_expiration */ function setExpiration($expiration) { $this->_expiration = $expiration; } } /* _____edit rules_____________________________________________________http://jedit.org :mode=php:tabSize=4:indentSize=4:noTabs=false:encoding=UTF-8:wrap=none:folding=java: */ ?>