repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_00_hello_world/01-atk-test-object.php
tests/atk43_00_hello_world/01-atk-test-object.php
<?php /** * If you extend class from AbstractController, then Agile Tookit * will link it with the application. */ class ATK_Test_Object extends AbstractController { function test_hello() { return isset($this->app->name); } public $proper_responses=array( "Test_hello"=>'1' ); }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Order.php
lib/Order.php
<?php /** * This is class for ordering elements. */ class Order extends AbstractController { public $rules = array(); public $array = null; public function init() { parent::init(); $this->useArray($this->owner->elements); } public function useArray(&$array) { $this...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Grid.php
lib/Grid.php
<?php /** * Undocumented. */ class Grid extends Grid_Advanced { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Page.php
lib/Page.php
<?php /** * Page class. * * Few optional methods Page class can have: * @method bool subPageHandler() * @method $this initMainPage() * @method $this page_index() */ class Page extends AbstractView { /** * Specify page title which will be used inside the <title> tag in the main * application templat...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/TMail.php
lib/TMail.php
<?php /** * Undocumented. */ class TMail extends TMail_Basic { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/PathFinder.php
lib/PathFinder.php
<?php /** * PathFinder is responsible for locating resources in Agile * Toolkit. One of the most significant principles it implements * is ability for any resource (PHP, JS, HTML, IMG) to be * located under several locations. Pathfinder will look for * the location containing the resource you ask for and will * p...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Hint.php
lib/Hint.php
<?php /** * Undocumented. */ class Hint extends View_Hint { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Icon.php
lib/Icon.php
<?php /** * Undocumented. */ class Icon extends View_Icon { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/HR.php
lib/HR.php
<?php /** * Add HTML horizontal-ruler <hr> element. * * @author Romans Malinovskis <romans@agiletoolkit.org> */ class HR extends HtmlElement { public function init() { parent::init(); $this->setElement('hr')->set(''); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/HelloWorld.php
lib/HelloWorld.php
<?php /** * Why creating your own HelloWorld class? * $this->add('HelloWorld'); will do the trick! */ class HelloWorld extends AbstractView { // message text private $message = 'Hello, World'; /** * Set custom message text. * * @param string $msg Message text */ public function s...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/BasicAuth.php
lib/BasicAuth.php
<?php /** * Undocumented */ class BasicAuth extends Auth_Basic { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Tester.php
lib/Tester.php
<?php /** * Tester implements a test-buddy class, which is passed to all your test * methods. You can use some of the methods to interract, output data or * debug information from outside of your test. This output will only * be displayed if any of the assertions fail. */ class Tester extends AbstractObject { ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Text.php
lib/Text.php
<?php /** * Very simple object for adding Text anywhere. Particularly * useful to avoid loosing text you would have set directly into * template when adding other object, such as icon. * $page->add('Icon'); * $page->add('Text'); */ class Text extends AbstractView { public $text = 'Your text goes here......'...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/GiTemplate.php
lib/GiTemplate.php
<?php /** * ==[ About SMlite ]========================================================== * This class is a lightweight template engine. It's based around operating with * chunks of HTML code and the main aims are:. * * - completely remove any code from templates * - speed up template parsing and manipulation sp...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/ApiFrontend.php
lib/ApiFrontend.php
<?php /** * Undocumented. */ class ApiFrontend extends App_Frontend { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/ButtonSet.php
lib/ButtonSet.php
<?php /** * Undocumented. */ class ButtonSet extends View_ButtonSet { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller.php
lib/Controller.php
<?php /** * Undocumented. */ class Controller extends AbstractController { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/P.php
lib/P.php
<?php /** * Adds a <p> element. * * $this->add('H1')->set('Welcome'); * $this->add('P')->set('Your balance is: '.$balance); */ class P extends HtmlElement { public function init() { parent::init(); $this->setElement('p'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Auth.php
lib/Auth.php
<?php /** * Undocumented. */ class Auth extends Auth_Basic { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/DB.php
lib/DB.php
<?php /** * Implementation of SQL Query Abstraction Layer for Agile Toolkit. * * @version 3.0 * * History * 0.9 First version. * 1.0 This version was adopted into AModules2 and SLib projects. * 1.1 Added support for mysqli, parametric arguments (mvs@adevel.com). * 1.2 Se...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/LoremIpsum.php
lib/LoremIpsum.php
<?php /** * Undocumented. */ class LoremIpsum extends AbstractView { public $message; public $paragraphs = 3; public $words = 200; public function create_greeking($words, $min_words = 3, $max_words = 10) { $punctuation = array('. ', '. ', '. ', '. ', '. ', '. ', '. ', '. ', '... ', '! ', ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Menu.php
lib/Menu.php
<?php /** * Undocumented. */ class Menu extends Menu_Horizontal { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Frame.php
lib/Frame.php
<?php /** * Undocumented */ class Frame extends View { public function setTitle($title) { $this->template->trySet('title', $title); return $this; } public function render() { if (!$this->template->get('title')) { $this->template->tryDel('title_tag'); } ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/VirtualPage.php
lib/VirtualPage.php
<?php /** * Normal pages are added by Application and are tied to the certain URL as * dictated by the Application class. Sometimes, however, you would have a need * to create page within a page. That's when you are building your custom View * or add-on - you want that page. * * VirtualPage gives you a unique URL...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Button.php
lib/Button.php
<?php /** * Undocumented. */ class Button extends View_Button { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/H5.php
lib/H5.php
<?php /** * Shortcut class for using HTML heading. */ class H5 extends HX { /** * Initialization. */ public function init() { parent::init(); $this->setElement('H5'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/H4.php
lib/H4.php
<?php /** * Shortcut class for using HTML heading. */ class H4 extends HX { /** * Initialization. */ public function init() { parent::init(); $this->setElement('H4'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/CRUD.php
lib/CRUD.php
<?php /** * Undocumented */ class CRUD extends View_CRUD { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/QuickSearch.php
lib/QuickSearch.php
<?php /** * Quicksearch represents one-field filter which works perfectly with a grid */ class QuickSearch extends Filter { /** @var string Submit button icon */ public $submit_icon = 'ui-icon-search'; /** @var string Cancel button icon */ public $cancel_icon = 'ui-icon-cancel'; /** @var Form_Fi...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Field.php
lib/Field.php
<?php /** * Class implementing field of relational database. One object is created * for every field in a model. Essentially this object is responsible for * storing information about meta-information and assisting model in * query creation where particular field is included. */ class Field extends AbstractModel {...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/H2.php
lib/H2.php
<?php /** * Shortcut class for using HTML heading. */ class H2 extends HX { /** * Initialization. */ public function init() { parent::init(); $this->setElement('H2'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Template.php
lib/Template.php
<?php /** * Undocumented. * * for compatibility extend this from SMlite */ class Template extends GiTemplate { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/ApiCLI.php
lib/ApiCLI.php
<?php /** * Undocumented. */ class ApiCLI extends App_CLI { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/BaseException.php
lib/BaseException.php
<?php /** * BaseException is parent of all exceptions in Agile Toolkit which * are meant to be for informational purposes. There are also some * exceptions (StopInit) which are used for data-flow. */ class BaseException extends Exception { // Exception defines it's methods as "final", which is complete nonsence...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/CompleteLister.php
lib/CompleteLister.php
<?php /** * CompleteLister is very similar to regular Lister, but will use * <?rows?><?row?>blah<?/?><?/?> structure inside template. * Also adds support for calculating totals. * * Use: * $list = $this->add('CompleteLister'); * $list->setModel('User'); * $list->addTotals(); * * Template (view/users.html):...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/AbstractController.php
lib/AbstractController.php
<?php /** * Abstract Controller can be used as a base class for any * fundamental controller implementation. Controller class * by definition should be state-less, although it can have * associated model, which it then would manipulate. * * Learn: * http://agiletoolkit.org/learn/understad/controller * * Refere...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/jQuery.php
lib/jQuery.php
<?php /** * Implements basic interface to jQuery * * jQuery is an compatibility layer if jQuery UI is not used. */ class jQuery extends AbstractController { /** @var array */ public $included = array(); /** @var string Name of jQuery_Chain class*/ public $chain_class = 'jQuery_Chain'; // {{{ I...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/H1.php
lib/H1.php
<?php /** * Shortcut class for using HTML heading. */ class H1 extends HX { /** * Initialization. */ public function init() { parent::init(); $this->setElement('H1'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/HX.php
lib/HX.php
<?php /** * Adds a support for subtitles for <h1>, <h2>, <h3>, <h4> and <h5> * elements. * * $this->add('H1')->set('Welcome') * ->sub('we really mean it!'); * * Syntactically, subtitle appears inside the <h1> element: * * <h1>Hello<sub>world</sub></h1> */ class HX extends HtmlElement { // Heading tex...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Html.php
lib/Html.php
<?php /** * Undocumented. */ class Html extends AbstractView { // HTML message text public $html = 'Your text goes <u>here</u>......'; /** * Set HTML text. * * @param string $html HTML text * * @return $this */ public function set($html) { $this->html = $html...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/URL.php
lib/URL.php
<?php /** * When $app->url() is called, this object is used to avoid * double-encoding. Return URL when converting to string. */ class URL extends AbstractModel { // Page is a location of destination page. It have to be absolute and relative to project root public $page = null; public $arguments = array...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/jUI.php
lib/jUI.php
<?php /** * jQuery UI support */ class jUI extends jQuery { /** * @var bool */ private $atk4_initialised = false; // {{{ Inherited properties /** @var App_Web */ public $app; // }}} /** * Initialization */ public function init() { parent::init(); ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Form.php
lib/Form.php
<?php /** * Undocumented. */ class Form extends Form_Basic { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/H3.php
lib/H3.php
<?php /** * Shortcut class for using HTML heading. */ class H3 extends HX { /** * Initialization. */ public function init() { parent::init(); $this->setElement('H3'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Paginator.php
lib/Paginator.php
<?php /** * Undocumented. */ class Paginator extends Paginator_Basic { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Columns.php
lib/Columns.php
<?php /** * Undocumented. */ class Columns extends View_Columns { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Filter.php
lib/Filter.php
<?php /** * Undocumented. */ class Filter extends Form { /** @var View Use with this view */ public $view; /** @var Form_Submit Save button object */ protected $save; /** @var Form_Submit Reset button object */ protected $reset; public function init() { parent::init(); ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Logger.php
lib/Logger.php
<?php /** * Undocumented */ class Logger extends AbstractController { /** * Logger class is implemented a more sophisticated and usable error handling. * * Normally all error messages are sent through the APP class by using one of two * ways: * * 1. throwing exception, which is caught by App class (unless you c...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
true
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Model.php
lib/Model.php
<?php /** * Model class improves how you interact with the structured data. Extend * this class (or :php:class:`Model_SQL`) to define the structure of your * own models, then use object instances to interact with individual records. */ class Model extends AbstractModel implements ArrayAccess, Iterator, Countable { ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Dummy.php
lib/Dummy.php
<?php /** * Dummy is a class ignoring all the calls. It is used to * substitute some other classes when their functionality * is not needed. */ // @codingStandardsIgnoreStart class Dummy { public function __call($foo, $bar) { return $this; } public function __set($foo, $bar) { re...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/ApiWeb.php
lib/ApiWeb.php
<?php /** * Undocumented. */ class ApiWeb extends App_Web { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/AbstractObject.php
lib/AbstractObject.php
<?php /** * A base class for all objects/classes in Agile Toolkit. * Do not directly inherit from this class, instead use one of * AbstractModel, AbstractController or AbstractView. */ abstract class AbstractObject { const DOC = 'core-features/objects'; /** * Reference to the current model. Read only....
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
true
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Tabs.php
lib/Tabs.php
<?php /** * Undocumented. */ class Tabs extends View_Tabs_jUItabs { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/HtmlElement.php
lib/HtmlElement.php
<?php /** * Undocumented. */ class HtmlElement extends View_HtmlElement { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/AbstractView.php
lib/AbstractView.php
<?php /** * A base class for all Visual objects in Agile Toolkit. The * important distinctive property of all Views is abiltiy * to render themselves (produce HTML) automatically and * recursively. */ abstract class AbstractView extends AbstractObject { /** * $template is an object containing indexed HTML...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/View.php
lib/View.php
<?php /** * View represents a stand-alone HTML element in your render-tree, * by default <div>. * * Most other views would contain a template with many HTML elements, * but "View" is for those cases when you need to add an image, simple * div or video tag, for example. * * $this->add('View') * ->setEleme...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/static.php
lib/static.php
<?php /** * Contains static functions. Agile Toolkit does not generally use * static functions, so please do not use any functions here. */ // Let's see if static is already loaded. It's a common problem when // We using old-style 'include.php' which includes both agile toolkit and // Composer if (defined('AGILE_TO...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Lister.php
lib/Lister.php
<?php /** * Lister implements a very simple and fast way to output series * of data by applying template formatting. * * Use: * $list=$this->add('Lister'); * $list->setModel('User'); * * Template (view/users.html): * <h4><?$name?></h4> * <p><?$desc?></p> */ class Lister extends View implements ArrayAcces...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/SMlite.php
lib/SMlite.php
<?php /** * ==[ About SMlite ]========================================================== * This class is a lightweight template engine. It's based around operating with * chunks of HTML code and the main aims are:. * * - completely remove any code from templates * - make templates editable with HTML editor * ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/AbstractModel.php
lib/AbstractModel.php
<?php /** * Abstract model entity. Use class Model for something * meaningful. * * Learn: * http://agiletoolkit.org/learn/understand/model * * Reference: * http://agiletoolkit.org/doc/model */ class AbstractModel extends AbstractObject { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Model/Table.php
lib/Model/Table.php
<?php /** * @deprecated 4.2.5 Please us SQL_Model class instead. */ class Model_Table extends SQL_Model { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Model/Relation.php
lib/Model/Relation.php
<?php /** * Undocumented */ class Model_Relation extends Model { protected $defaultHasOneFieldClass = 'Field_SQL_HasOne'; protected $defaultExpressionFieldClass = 'Field_SQL_Expression'; protected $defaultSQLRelationFieldClass = 'Field_SQL_Relation'; protected $relations = array(); public functio...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Layout/Fluid.php
lib/Layout/Fluid.php
<?php /** * The layout engine helping you to create a flexible and responsive layout * of your page. The best thing is - you don't need to CSS ! * * Any panel you have added can have a number of classes applied. Of course * you are can use those classes in other circumstances too. */ class Layout_Fluid extends La...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Layout/Footer.php
lib/Layout/Footer.php
<?php /** * Undocumented */ class Layout_Footer extends View { public function init() { parent::init(); $this->setElement('footer'); } public function getJSID() { return 'atk-footer'; } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Layout/Basic.php
lib/Layout/Basic.php
<?php /** * The layout engine helping you to create a flexible and responsive layout * of your page. The best thing is - you don't need to CSS ! * * Any panel you have added can have a number of classes applied. Of course * you are can use those classes in other circumstances too. */ class Layout_Basic extends Vi...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Layout/Centered.php
lib/Layout/Centered.php
<?php /** * Centered layout for showing a single form or message on the page. */ class Layout_Centered extends Layout_Basic { public function defaultTemplate() { return array('layout/centered'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Layout/Error.php
lib/Layout/Error.php
<?php /** * Centered layout for showing a single form or message on the page. */ class Layout_Error extends Layout_Basic { public function defaultTemplate() { return array('layout/error'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/SQL/Relation.php
lib/SQL/Relation.php
<?php /** * Undocumented */ class SQL_Relation extends AbstractModel { public $f1 = null; // Foreign Table (actual name) // short_name = Foreign alias public $t = null; // Join kind (left|right|inner|cross etc.) public $expr = null; // Using expression when joining ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/SQL/Many.php
lib/SQL/Many.php
<?php /** * Undocumented */ class SQL_Many extends AbstractModel { public $model_name = null; public $their_field = null; public $orig_conditions = null; public $our_field = null; public $auto_track_element = true; public $relation = null; public $table_alias = null; // {{{ Inherited ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/SQL/Model.php
lib/SQL/Model.php
<?php /** * Implementation of a Relational SQL-backed Model. * * SQL_Model allows you to take advantage of relational SQL database without neglecting * powerful functionality of your RDBMS. On top of basic load/save/delete operations, you can * pefrorm multi-row operations, traverse relations, or use SQL expressio...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
true
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Mongo/Field.php
lib/Mongo/Field.php
<?php /** * Undocumented */ class Mongo_Field extends Field { public function init() { parent::init(); $this->type('reference_id'); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Mongo/Reference.php
lib/Mongo/Reference.php
<?php /** * Undocumented */ class Mongo_Reference extends Mongo_Field { public function init() { parent::init(); $this->type('reference_id'); $this->owner->addField(str_replace('_id', '', $this->short_name)) ->editable(false); } }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Mongo/Model.php
lib/Mongo/Model.php
<?php /** * This class is to improve convenience of using the mongo controller. */ class Mongo_Model extends Model { public $id_field = '_id'; public function init() { parent::init(); $this->setSource('Mongo'); $this->addField('_id')->system(true); } public function hasOn...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Tester.php
lib/Controller/Tester.php
<?php /** * Tester page is a basic implementation of a testing environment for Agile Toolkit. * See Documentation for testing. */ class Controller_Tester extends Page { /** @var array */ public $variances = array(); /** @var mixed */ public $input; /** @var array|string */ public $respo...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Compat.php
lib/Controller/Compat.php
<?php /** * Adds some compatibility to get 4.1-based web app * running on 4.2 quickly. */ class Controller_Compat extends AbstractController { public function init() { parent::init(); $this->app->compat = $this; $l = $this->app->locate('template', 'css/atk-custom.css', 'location'); ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/ADView.php
lib/Controller/ADView.php
<?php /** * Connects regular view with a Agile Data model and imports it field values and captions. * * In opposite of AbstractView->modelRender() method, this one will properly treat field * values depending on their type. It will also set field captions if such tags are found * in views template. Caption tags sh...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/PageManager.php
lib/Controller/PageManager.php
<?php /** * This is a generic page manager. For web applications it calculates * base URI, sets up path manager with the URI locations, determines * which page was requested. * * This class works with PathFinder, App_Web, and Location. * * Terminology: * * Project - entirety of your files including shared fold...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Compat42.php
lib/Controller/Compat42.php
<?php class Controller_Compat42 extends AbstractController { public function init() { parent::init(); $this->app->compat_42 = $this; } /** Forces Agile Toolkit to use 4.2-compatible stylesheets and templates */ public function useOldStyle() { $this->app->pathfinder->ba...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data.php
lib/Controller/Data.php
<?php /** * Reference implementation for data controller. * * Data controllers are used by "Model" class to access their data source. * Additionally SQL_Model can use data controllers for caching their data */ abstract class Controller_Data extends AbstractController { public $default_exception = 'Exception_DB...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/MVCGrid.php
lib/Controller/MVCGrid.php
<?php /** * Connects regular grid with a model and imports fields as columns. * * In most cases the following use is sufficient * $grid->setModel('SomeModel'); * * You can use Grid only with a single Model to simplify select. */ class Controller_MVCGrid extends AbstractController { /** @var Model */ publ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/PatternRouter.php
lib/Controller/PatternRouter.php
<?php /** * This controller allows you to have nice url rewrites without using web * server. Usage:. * * in Frontend: * * $r = $this->add("Controller_PatternRouter") * ->addRule("(news\/.*)", "news_item", array("u")) * ->route(); * * if REQUEST_URI is "/news/some-name-of-your-news/", then router would: *...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/ADForm.php
lib/Controller/ADForm.php
<?php /** * Connects regular form with a Agile Data model and imports some fields. * It also binds action on form->update(), which will now force model to be updated. * * In most cases the following use is sufficient * $form->setModel('SomeModel'); * * If you want to import fields from multiple models, you can u...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/ADGrid.php
lib/Controller/ADGrid.php
<?php /** * Connects regular grid with a Agile/Data model and imports fields as columns. * * In most cases the following use is sufficient * $grid = $page->add('Grid', ['default_controller' => 'ADGrid']); * $grid->setModel('SomeModel'); * * You can use Grid only with a single Model. */ class Controller_ADGrid e...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/MVCForm.php
lib/Controller/MVCForm.php
<?php /** * Connects regular form with a model and imports some fields. It also * binds action on form->update(), which will now force model to be updated. * * In most cases the following use is sufficient * $form->setModel('SomeModel'); * * If you want to import fields from multiple models, you can use this: *...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Addon.php
lib/Controller/Addon.php
<?php /** * Addon Controller is used to help installation of your add-on. If your * add-on needs to perform some specific actions during the installation, * such as creating a symling for asset access or. */ class Controller_Addon extends AbstractController { /** @var string */ public $atk_version = '4.3'; ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Validator.php
lib/Controller/Validator.php
<?php /** * Undocumented */ class Controller_Validator extends Controller_Validator_Advanced { }
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/DatabaseMigration.php
lib/Controller/DatabaseMigration.php
<?php /** * Undocumented. */ class Controller_DatabaseMigration extends AbstractController { public function executeMigrations() { // TODO: check in pathfinder $dbupdates = $this->app->pathfinder->search('dbupdates'); $results = array(); foreach ($dbupdates as $dir) { ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Migrator/MySQL.php
lib/Controller/Migrator/MySQL.php
<?php /** * Implements a generic migration controller. This controller will find * folder containing "dbupdates", read all the .sql files from there and * sequentially apply them on top of your database::. * * $app->add('Controller_Migrator_MySQL'); * * or with a custom database:: * * $app->add('Controller_Mig...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Grid/Format.php
lib/Controller/Grid/Format.php
<?php /** * Undocumented */ abstract class Controller_Grid_Format extends AbstractController { /** * Initialize field. * * Note: $this->owner is Grid object * * @param string $name Field name * @param string|array $descr Field title */ public function initField($name, $desc...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/SQL.php
lib/Controller/Data/SQL.php
<?php /** * Undocumented */ class Controller_Data_SQL extends Controller_Data { public $supportConditions = true; public $supportLimit = true; public $supportOrder = true; public $supportRef = true; public $supportOperators = array( '=' => true, '>' => true, '>=' => true, ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/PathFinder.php
lib/Controller/Data/PathFinder.php
<?php /** * Undocumented. */ class Controller_Data_PathFinder extends Controller_Data { public $path_prefix = ''; public function save($model, $id, $data) { throw $this->exception('Unable to save into pathfinder'); } public function delete($model, $id) { throw $this->exception(...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/Dumper.php
lib/Controller/Data/Dumper.php
<?php /** * This controller will simply output data as it's being passed through. */ class Controller_Data_Dumper extends Controller_Data { /** @var array */ protected $log = array(); /** @var Controller */ protected $watchedController = null; public function setWatchedControllerData($model, $co...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/SQLite.php
lib/Controller/Data/SQLite.php
<?php /** * Undocumented */ class Controller_Data_SQLite extends Controller_Data_SQL { public function setSource($model, $data) { // do nothing if (!$model->table) { throw $this->exception('$table property must be defined'); } if ($model->app->db && $model->app->d...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/Array.php
lib/Controller/Data/Array.php
<?php /** * Undocumented */ class Controller_Data_Array extends Controller_Data { public $supportConditions = true; public $supportLimit = true; public $supportOrder = false; public $supportOperators = array( '=' => true, '>' => true, '>=' => true, '<=' => true, ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/Memcached.php
lib/Controller/Data/Memcached.php
<?php /** * Implementation of Memcached data controller. * * $m=$this->add('Model'); * $m->addField('test'); * $m->table='test_table'; * * $m->setSource('Memcached', $storage); * $m['test']=123; * $m->save(1); * * $m['test']=321; * $m->save(2); * * $m->load(1); * echo $m['test']; */ class Controller_Dat...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/Mongo.php
lib/Controller/Data/Mongo.php
<?php /** * Undocumented */ class Controller_Data_Mongo extends Controller_Data { public $supportConditions = true; public $supportLimit = true; public $supportOrder = true; public $supportRef = true; public $supportOperators = array();//'='=>true,'>'=>true,'>='=>true,'<='=>true,'<'=>true,'!='=>tr...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/RESTful.php
lib/Controller/Data/RESTful.php
<?php /** * Implements RESTful interface access as per specification * http://en.wikipedia.org/wiki/Representational_state_transfer. * * RESTful access is typically implemented through two URL patterns: * * Collection URI such as: 'resources.json', listing and adding new records. * Element URI such as: 'resource...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Data/Session.php
lib/Controller/Data/Session.php
<?php /** * Implements connectivity between Model and Session. */ class Controller_Data_Session extends Controller_Data_Array { // {{{ Inherited properties /** @var App_Web */ public $app; // }}} public function setSource($model, $data) { $this->app->initializeSession(); if ...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Validator/Advanced.php
lib/Controller/Validator/Advanced.php
<?php class Controller_Validator_Advanced extends Controller_Validator_Basic { public function init() { parent::init(); $this->alias = array_merge( $this->alias, array( 'foo' => 'bar', ) ); } public function resolveRuleAlias(...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false
atk4/atk4
https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/lib/Controller/Validator/Abstract.php
lib/Controller/Validator/Abstract.php
<?php /** * Abstract Validator implements the low-level requirements of * a validator integrated into Agile Toolkit. In normal conditions * you should use 'Validator' class which extends 'Validator_Advanced'. * * If you are writing your own validator rules to a very specific * objects, you can use extend either t...
php
MIT
f12d77813a8b21ca1791f7f4517883fceab81386
2026-01-05T03:03:34.614070Z
false