Version 4.3.6
This commit is contained in:
1 parent
fe1acf984a
commit
1a0c7fd3c2
609 files changed
+14707
-5726
No files matched your search
@@ -478,11 +478,16 @@ abstract class _Model extends \IPS\Patterns\ActiveRecord
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Cached URL
|
||||
*/
|
||||
protected $_url = NULL;
|
||||
|
||||
/**
|
||||
* Get URL
|
||||
*
|
||||
* @return \IPS\Http\Url
|
||||
* @throws BadMethodCallException
|
||||
* @throws \BadMethodCallException
|
||||
*/
|
||||
public function url()
|
||||
{
|
||||
@@ -554,9 +559,9 @@ abstract class _Model extends \IPS\Patterns\ActiveRecord
|
||||
* [Node] Fetches the only node if only one exists
|
||||
* One Node to rule them all, One Node to find them, One Node to bring them all and in the darkness bind them
|
||||
*
|
||||
* @param $properties Array of property=>value i.e. array( 'redirect_url' => FALSE, 'password' => FALSE );
|
||||
* @param $returnRoots Enable to check and return the root node
|
||||
* @param $subNodes Enable to check subnodes
|
||||
* @param array $properties Array of property=>value i.e. array( 'redirect_url' => FALSE, 'password' => FALSE );
|
||||
* @param bool $returnRoots Enable to check and return the root node
|
||||
* @param bool $subNodes Enable to check subnodes
|
||||
* @return \IPS\Node\Model|NULL
|
||||
*/
|
||||
public static function theOnlyNode( $properties=array(), $returnRoots=TRUE, $subNodes=TRUE )
|
||||
|
||||
Reference in new issue
Block a user