Subversion Repositories PHPX

Compare Revisions

Last modification

Regard whitespace Rev 35 → Rev 49

/trunk/AbstractModel.php
28,7 → 28,7
* @param array $data Initialization data (optional)
* @param array $mapping Mapping for initialization data (optional)
*/
public function __construct(array $data = null, array $mapping = null)
protected function __construct(array $data = null, array $mapping = null)
{
if (!is_null($data))
{
154,6 → 154,8
* @param bool $exclusive = false
* <p>If <code>true</code>, <em>only</em> the keys of $data that are present
* in $mapping are mapped.</p>
* @return AbstractModel
* The modified object
*/
public function map(array $data, array $mapping = null, $exclusive = false)
{
181,5 → 183,7
}
}
}
 
return $this;
}
}