2006-06-14 19:06:14 +00:00
|
|
|
<?php
|
2006-11-27 18:15:36 +00:00
|
|
|
/* SVN FILE: $Id$ */
|
2006-06-14 19:06:14 +00:00
|
|
|
/**
|
|
|
|
* Short description for file.
|
|
|
|
*
|
|
|
|
* Long description for file
|
|
|
|
*
|
|
|
|
* PHP versions 4 and 5
|
|
|
|
*
|
2007-02-02 10:39:45 +00:00
|
|
|
* CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
|
|
|
|
* Copyright 2005-2007, Cake Software Foundation, Inc.
|
2006-11-27 18:15:36 +00:00
|
|
|
* 1785 E. Sahara Avenue, Suite 490-204
|
|
|
|
* Las Vegas, Nevada 89104
|
2006-06-14 19:06:14 +00:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
|
|
|
* @filesource
|
2007-02-02 10:39:45 +00:00
|
|
|
* @copyright Copyright 2005-2007, Cake Software Foundation, Inc.
|
|
|
|
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
|
2006-11-27 18:15:36 +00:00
|
|
|
* @package cake
|
|
|
|
* @subpackage cake.cake.libs.model.i18n
|
2007-02-02 10:39:45 +00:00
|
|
|
* @since CakePHP(tm) v 1.2.0.3995
|
2006-11-27 18:15:36 +00:00
|
|
|
* @version $Revision$
|
|
|
|
* @modifiedby $LastChangedBy$
|
|
|
|
* @lastmodified $Date$
|
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
2006-06-14 19:06:14 +00:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Short description for file.
|
|
|
|
*
|
|
|
|
* Long description for file
|
|
|
|
*
|
2006-11-27 18:15:36 +00:00
|
|
|
* @package cake
|
2006-06-14 19:06:14 +00:00
|
|
|
* @subpackage cake.cake.libs.model.i18n
|
2006-12-22 20:30:09 +00:00
|
|
|
* @since CakePHP v 1.2.0.3995
|
2006-06-14 19:06:14 +00:00
|
|
|
*
|
|
|
|
*/
|
2006-12-22 20:30:09 +00:00
|
|
|
class Translate extends AppModel {
|
|
|
|
var $locale = null;
|
2006-06-14 19:06:14 +00:00
|
|
|
|
2006-11-27 18:15:36 +00:00
|
|
|
function read ($id = null, $fields = null) {
|
|
|
|
$result = parent::read($id, $fields);
|
|
|
|
return $result;
|
|
|
|
}
|
2006-06-14 19:06:14 +00:00
|
|
|
|
2006-11-27 18:15:36 +00:00
|
|
|
function field ($name, $conditions = null, $order = null) {
|
|
|
|
$result = parent::field ($name, $conditions, $order);
|
|
|
|
return $result;
|
|
|
|
}
|
2006-06-14 19:06:14 +00:00
|
|
|
|
2006-11-27 18:15:36 +00:00
|
|
|
function saveField($name, $value, $validate = false) {
|
|
|
|
$result = parent::saveField($name, $value, $validate );
|
|
|
|
return $result;
|
|
|
|
}
|
2006-06-14 19:06:14 +00:00
|
|
|
|
2006-11-27 18:15:36 +00:00
|
|
|
function save ($data=null, $validate=true) {
|
|
|
|
$result = parent::save ($data, $validate);
|
|
|
|
return $result;
|
|
|
|
}
|
2006-06-14 19:06:14 +00:00
|
|
|
|
2006-11-27 18:15:36 +00:00
|
|
|
function del ($id = null) {
|
|
|
|
$result = parent::del($id);
|
|
|
|
return $result;
|
|
|
|
}
|
2006-06-14 19:06:14 +00:00
|
|
|
|
2006-11-27 18:15:36 +00:00
|
|
|
function find ($conditions = null, $fields = null, $order = null, $recursive = 1) {
|
|
|
|
$result = parent::find($conditions , $fields , $order , $recursive);
|
|
|
|
return $result;
|
|
|
|
}
|
2006-06-14 19:06:14 +00:00
|
|
|
|
2006-11-27 18:15:36 +00:00
|
|
|
function findAll ($conditions = null, $fields = null, $order = null, $limit = 50, $page = 1, $recursive = 1) {
|
|
|
|
$result = parent::findAll($conditions , $fields , $order , $limit , $page , $recursive);
|
|
|
|
return $result;
|
|
|
|
}
|
2006-06-14 19:06:14 +00:00
|
|
|
}
|
|
|
|
?>
|