auto rotate random

Php code posted
created at 19 Jun 09:46, updated at 28 Jul 15:54

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
  /**
   * Writes a apply button for a given option
   * Apply operation leads to a save action only (does not leave edit mode)
   * @param string An override for the task
   * @param string An override for the alt text
   */
  public static function apply( $task = 'apply', $alt = 'Apply' )
  {
    if( SPFactory::user()->can( $task ) ) {
      JToolBarHelper::apply( $task, $alt );
    }
  }
388 Bytes in 3 ms with coderay