\NewsfeedsControllerNewsfeeds
Newsfeeds list controller class.
Synopsis
class NewsfeedsControllerNewsfeeds
extends JControllerAdmin
{
- // Inherited members from JControllerAdmin
- protected $option;
- protected $text_prefix;
- protected $view_list;
- // Inherited members from JControllerLegacy
- protected $basePath;
- protected $default_view;
- protected $doTask;
- protected $message;
- protected $messageType;
- protected $methods;
- protected $name;
- protected $model_prefix;
- protected $paths;
- protected $redirect;
- protected $task;
- protected $taskMap;
- protected JInput $input;
- protected JControllerLegacy $instance;
- // Inherited members from JObject
- protected $_errors;
- // methods
- public void getModel()
- protected void postDeleteHook()
- // Inherited methods from JControllerAdmin
- public void __construct()
- public void delete()
- protected void postDeleteHook()
- public JControllerLegacy display()
- public void publish()
- public boolean reorder()
- public boolean saveorder()
- public boolean checkin()
- public void saveOrderAjax()
- // Inherited methods from JControllerLegacy
- public static void addModelPath()
- protected static string createFileName()
- public static JControllerLegacy getInstance()
- public void __construct()
- protected JControllerLegacy addPath()
- public JControllerLegacy addViewPath()
- public boolean authorise()
- protected boolean checkEditId()
- protected mixed createModel()
- protected mixed createView()
- public JControllerLegacy display()
- public mixed execute()
- public getModel()
- public string getName()
- public string getTask()
- public array getTasks()
- public JViewLegacy getView()
- protected void holdEditId()
- public boolean redirect()
- public JControllerLegacy registerDefaultTask()
- public JControllerLegacy registerTask()
- public JControllerLegacy unregisterTask()
- protected void releaseEditId()
- public string setMessage()
- protected void setPath()
- public JControllerLegacy setRedirect()
- // Inherited methods from JObject
- public void __construct()
- public string __toString()
- public mixed def()
- public mixed get()
- public array getProperties()
- public string getError()
- public array getErrors()
- public mixed set()
- public boolean setProperties()
- public void setError()
Hierarchy
Extends
Members
protected
- $_errors
—
array
An array of error messages or Exception objects. - $basePath
—
string
The base path of the controller - $default_view
—
string
The default view for the display method. - $doTask
—
string
The mapped task that was performed. - $input
—
JInput
Hold a JInput object for easier access to the input variables. - $instance
—
JControllerLegacy
Instance container. - $message
—
string
Redirect message. - $messageType
—
string
Redirect message type. - $methods
—
array
Array of class methods - $model_prefix
—
string
The prefix of the models - $name
—
array
The name of the controller - $option
—
string
The URL option for the component. - $paths
—
array
The set of search directories for resources (views). - $redirect
—
string
URL for redirection. - $task
—
string
Current or most recently performed task. - $taskMap
—
array
Array of class methods to call for a given task. - $text_prefix
—
string
The prefix to use with controller messages. - $view_list
—
string
The URL view list variable.
Methods
protected
public
- getModel() — Proxy for getModel.
Inherited from JControllerAdmin
protected
- postDeleteHook() — Function that allows child controller access to model data after the item has been deleted.
public
- checkin() — Check in of one or more records.
- delete() — Removes an item.
- display() — Display is not supported by this controller.
- publish() — Method to publish a list of items
- reorder() — Changes the order of one or more records.
- saveOrderAjax() — Method to save the submitted ordering values for records via AJAX.
- saveorder() — Method to save the submitted ordering values for records.
Inherited from JControllerLegacy
protected
- addPath() — Adds to the search path for templates and resources.
- checkEditId() — Method to check whether an ID is in the edit list.
- createFileName() — Create the filename for a resource.
- createModel() — Method to load and return a model object.
- createView() — Method to load and return a view object. This method first looks in the current template directory for a match and, failing that, uses a default set path to load the view class file.
- holdEditId() — Method to add a record ID to the edit list.
- releaseEditId() — Method to check whether an ID is in the edit list.
- setPath() — Sets an entire array of search paths for resources.
public
- addModelPath() — Adds to the stack of model paths in LIFO order.
- addViewPath() — Add one or more view paths to the controller's stack, in LIFO order.
- display() — Typical view method for MVC based architecture
- execute() — Execute a task by triggering a method in the derived class.
- getInstance() — Method to get a singleton controller instance.
- getModel() — Method to get a model object, loading it if required.
- getName() — Method to get the controller name
- getTask() — Get the last task that is being performed or was most recently performed.
- getTasks() — Gets the available tasks in the controller.
- getView() — Method to get a reference to the current view and load it if necessary.
- redirect() — Redirects the browser or returns false if no redirect is set.
- registerDefaultTask() — Register the default task to perform if a mapping is not found.
- registerTask() — Register (map) a task to a method in the class.
- setMessage() — Sets the internal message that is passed with a redirect
- setRedirect() — Set a URL for browser redirection.
- unregisterTask() — Unregister (unmap) a task in the class.
Inherited from JObject
public
- __toString() — Magic method to convert the object to a string gracefully.
- def() — Sets a default value if not alreay assigned
- get() — Returns a property of the object or the default value if the property is not set.
- getError() — Get the most recent error message.
- getErrors() — Return all errors, if any.
- getProperties() — Returns an associative array of object properties.
- set() — Modifies a property of the object, creating it if it does not already exist.
- setError() — Add an error message.
- setProperties() — Set the object properties based on a named array/hash.