Page HTMLPage AdministrationPage contentSystemAuthors

public class contentSystemAuthors extends AdministrationPage

content.systemauthors.php #16

Controller page for all Symphony Author related activity including making new Authors, editing Authors or deleting Authors from Symphony

Properties

mixed $_Author
mixed $_errors

Methods

void __actionEdit(string $context, Author $author)

Creation of a new Author. The Author object is provided as read only through this delegate.

Parameters
  • $context string'/system/authors/'

  • $author AuthorThe Author object that has just been created

void __actionIndex(string $context, array $options)

Allows an extension to modify the existing options for this page's With Selected menu. If the $options parameter is an empty array, the 'With Selected' menu will not be rendered.

Parameters
  • $context string'/system/authors/'

  • $options arrayAn array of arrays, where each child array represents an option in the With Selected menu. Options should follow the same format expected by Widget::__SelectBuildOption. Passed by reference.

void __actionNew(string $context, XMLElement $form, Author $author)

Allows the injection of custom form fields given the current $this->Form object. Please note that this custom data should be saved in own extension tables and that modifying tbl_authors to house your data is highly discouraged.

Parameters
  • $context string'/system/authors/'

  • $form XMLElementThe contents of $this->Form after all the default form elements have been appended.

  • $author AuthorThe current Author object that is being edited

void __viewEdit()
void __viewIndex()
void __viewNew(string $context, array $author_ids)

Prior to deleting an author, provided with an array of Author ID's.

Parameters
  • $context string'/system/authors/'

  • $author_ids arrayAn array of Author ID that are about to be removed

void sort(mixed $sort, mixed $order, mixed $params)

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details