Last active
August 3, 2017 21:52
-
-
Save deizel/9230ab493ada786358bf to your computer and use it in GitHub Desktop.
List of constants in CakePHP 3.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deizel at CakeDC in ~/Projects/cakephp (3.0●) | |
$ ag "const " | |
src/Console/ConsoleOutput.php | |
51: const RAW = 0; | |
58: const PLAIN = 1; | |
65: const COLOR = 2; | |
72: const LF = PHP_EOL; | |
src/Console/ConsoleIo.php | |
58: const VERBOSE = 2; | |
65: const NORMAL = 1; | |
72: const QUIET = 0; | |
src/Console/Shell.php | |
45: const VERBOSE = ConsoleIo::VERBOSE; | |
52: const NORMAL = ConsoleIo::NORMAL; | |
59: const QUIET = ConsoleIo::QUIET; | |
src/Controller/Component/AuthComponent.php | |
46: const ALL = 'all'; | |
src/Database/Expression/UnaryExpression.php | |
32: const PREFIX = 0; | |
38: const POSTFIX = 1; | |
src/Database/Schema/Table.php | |
170: const CONSTRAINT_PRIMARY = 'primary'; | |
177: const CONSTRAINT_UNIQUE = 'unique'; | |
184: const CONSTRAINT_FOREIGN = 'foreign'; | |
191: const INDEX_INDEX = 'index'; | |
198: const INDEX_FULLTEXT = 'fulltext'; | |
205: const ACTION_CASCADE = 'cascade'; | |
212: const ACTION_SET_NULL = 'setNull'; | |
219: const ACTION_NO_ACTION = 'noAction'; | |
226: const ACTION_RESTRICT = 'restrict'; | |
233: const ACTION_SET_DEFAULT = 'setDefault'; | |
src/Database/Schema/SqlserverSchema.php | |
25: const DEFAULT_SCHEMA_NAME = 'dbo'; | |
src/Filesystem/Folder.php | |
32: const MERGE = 'merge'; | |
40: const OVERWRITE = 'overwrite'; | |
48: const SKIP = 'skip'; | |
src/I18n/Parser/MoFileParser.php | |
32: const MO_LITTLE_ENDIAN_MAGIC = 0x950412de; | |
40: const MO_BIG_ENDIAN_MAGIC = 0xde120495; | |
47: const MO_HEADER_SIZE = 28; | |
src/Network/Http/Message.php | |
30: const STATUS_OK = 200; | |
37: const STATUS_CREATED = 201; | |
44: const STATUS_ACCEPTED = 202; | |
51: const STATUS_MOVED_PERMANENTLY = 301; | |
58: const STATUS_FOUND = 302; | |
65: const STATUS_SEE_OTHER = 303; | |
72: const STATUS_TEMPORARY_REDIRECT = 307; | |
79: const METHOD_GET = 'GET'; | |
86: const METHOD_POST = 'POST'; | |
93: const METHOD_PUT = 'PUT'; | |
100: const METHOD_DELETE = 'DELETE'; | |
107: const METHOD_PATCH = 'PATCH'; | |
114: const METHOD_HEAD = 'HEAD'; | |
src/Network/Email/Email.php | |
60: const LINE_LENGTH_SHOULD = 78; | |
67: const LINE_LENGTH_MUST = 998; | |
74: const MESSAGE_HTML = 'html'; | |
81: const MESSAGE_TEXT = 'text'; | |
88: const EMAIL_PATTERN = '/^((?:[\p{L}0-9.!#$%&\'*+\/=?^_`{|}~-]+)*@[\p{L}0-9-.]+)$/ui'; | |
src/ORM/Association.php | |
41: const STRATEGY_JOIN = 'join'; | |
48: const STRATEGY_SUBQUERY = 'subquery'; | |
55: const STRATEGY_SELECT = 'select'; | |
62: const ONE_TO_ONE = 'oneToOne'; | |
69: const ONE_TO_MANY = 'oneToMany'; | |
76: const MANY_TO_MANY = 'manyToMany'; | |
83: const MANY_TO_ONE = 'manyToOne'; | |
src/ORM/Association/BelongsToMany.php | |
43: const SAVE_APPEND = 'append'; | |
50: const SAVE_REPLACE = 'replace'; | |
src/ORM/Query.php | |
48: const APPEND = 0; | |
55: const PREPEND = 1; | |
62: const OVERWRITE = true; | |
src/ORM/RulesChecker.php | |
51: const CREATE = 'create'; | |
58: const UPDATE = 'update'; | |
65: const DELETE = 'delete'; | |
src/ORM/Table.php | |
128: const VALIDATOR_DEFAULT = 'default'; | |
src/Shell/ServerShell.php | |
33: const DEFAULT_HOST = 'localhost'; | |
40: const DEFAULT_PORT = 8765; | |
src/Routing/RouteBuilder.php | |
37: const ID = '[0-9]+'; | |
44: const UUID = '[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}'; | |
src/Routing/Router.php | |
66: const ACTION = 'index|show|add|create|edit|update|remove|del|delete|view|item'; | |
73: const YEAR = '[12][0-9]{3}'; | |
80: const MONTH = '0[1-9]|1[012]'; | |
87: const DAY = '0[1-9]|[12][0-9]|3[01]'; | |
94: const ID = '[0-9]+'; | |
101: const UUID = '[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}'; | |
src/View/Helper/FormHelper.php | |
145: const SECURE_SKIP = 'skip'; | |
src/View/ViewBlock.php | |
34: const APPEND = 'append'; | |
41: const PREPEND = 'prepend'; | |
src/View/View.php | |
269: const TYPE_VIEW = 'view'; | |
276: const TYPE_ELEMENT = 'element'; | |
283: const TYPE_LAYOUT = 'layout'; | |
tests/TestCase/Database/QueryTest.php | |
32: const ARTICLE_COUNT = 3; | |
33: const AUTHOR_COUNT = 4; | |
34: const COMMENT_COUNT = 6; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment