YiiFoundation
  • Namespace
  • Class
  • Tree

Namespaces

  • foundation
    • enum
    • exception
    • helpers
    • widgets
      • base
  • PHP

Classes

  • Enum
  1 <?php
  2 /**
  3  * @copyright Copyright &copy; 2amigOS! Consulting Group 2013-
  4  * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
  5  * @package foundation.components
  6  * @version 1.0.0
  7  */
  8 namespace foundation\enum;
  9 
 10 /**
 11  * Enum holds most of the Foundation classes
 12  *
 13  * @see http://foundation.zurb.com/docs/
 14  *
 15  * @author Antonio Ramirez <amigo.cobos@gmail.com>
 16  * @package foundation\enum
 17  */
 18 class Enum
 19 {
 20     // Id prefix
 21     const ID_PREFIX = 'yf';
 22 
 23     // Breadcrumbs
 24     const BREADCRUMBS = 'breadcrumbs';
 25 
 26     // Pagination classes
 27     const PAGINATION          = 'pagination';
 28     const PAGINATION_CENTERED = 'pagination-centered';
 29 
 30     // Switch button
 31     const SWITCH_BUTTON = 'switch';
 32 
 33     // Size classes
 34     const SIZE_TINY   = 'tiny';
 35     const SIZE_SMALL  = 'small';
 36     const SIZE_MEDIUM = 'medium';
 37     const SIZE_LARGE  = 'large';
 38     const SIZE_EXPAND = 'expand';
 39 
 40     // Color classes
 41     const COLOR_REGULAR   = 'regular';
 42     const COLOR_SECONDARY = 'secondary';
 43     const COLOR_ALERT     = 'alert';
 44     const COLOR_SUCCESS   = 'success';
 45 
 46     // Radius classes
 47     const RADIUS_RADIUS = 'radius';
 48     const RADIUS_ROUND  = 'round';
 49 
 50     // Dropdown classes
 51     const DROPDOWN         = 'dropdown';
 52     const DROPDOWN_LIST    = 'f-dropdown';
 53     const DROPDOWN_CONTENT = 'f-dropdown content';
 54     const DROPDOWN_SPLIT   = 'split';
 55     const DROPDOWN_HAS     = 'has-dropdown';
 56     const CONTENT          = 'content';
 57 
 58     // Panel
 59     const PANEL         = 'panel';
 60     const PANEL_CALLOUT = 'callout';
 61 
 62     // Clearing
 63     const CLEARING_THUMBS      = 'clearing-thumbs';
 64     const ClEARING_FEATURE     = 'clearing-feature';
 65     const CLEARING_FEATURE_IMG = 'clearing-feature-img';
 66 
 67     // JoyRide
 68     const JOYRIDE_LIST = 'joyride-list';
 69 
 70     // Pricing Table
 71     const PRICING_TABLE = 'pricing-table';
 72 
 73     // Progress
 74     const PROGRESS       = 'progress';
 75     const PROGRESS_METER = 'meter';
 76 
 77     // Even classes
 78     // @see http://foundation.zurb.com/docs/components/button-groups.html
 79     const EVEN_2 = 'even-2';
 80     const EVEN_3 = 'even-3';
 81     const EVEN_4 = 'even-4';
 82     const EVEN_5 = 'even-5';
 83     const EVEN_6 = 'even-6';
 84     const EVEN_7 = 'even-7';
 85     const EVEN_8 = 'even-8';
 86 
 87     // State classes
 88     const STATE_DISABLED = 'disabled';
 89     const STATE_ACTIVE   = 'active';
 90 
 91     // Position classes
 92     const POS_RIGHT = 'right';
 93     const POS_LEFT  = 'left';
 94 
 95     // nav classes
 96     const NAV_SIDE      = 'side-nav';
 97     const NAV_DIVIDER   = 'divider';
 98     const NAV_SUB       = 'sub-nav';
 99     const NAV_TOPBAR    = 'top-bar';
100     const NAV_FIXED     = 'fixed';
101     const NAV_STICKY    = 'sticky';
102     const NAV_CONTAINED = 'contain-to-grid';
103 
104     // video classes
105     const VIDEO_FLEXVIDEO  = 'flex-video';
106     const VIDEO_WIDESCREEN = 'widescreen';
107     const VIDEO_VIMEO      = 'vimeo';
108 
109     // slideshow classes
110     const ORBIT_WRAPPER = 'slideshow-wrapper';
111     const ORBIT_LOADER  = 'preloader';
112     const ORBIT_CAPTION = 'orbit-caption';
113 
114     // dialog classes
115     const DIALOG       = 'reveal-modal';
116     const DIALOG_CLOSE = 'close-reveal-modal';
117     // dialog sizes
118     // sets the width to 30%
119     const DIALOG_SMALL = 'small';
120     // sets the width to 40%
121     const DIALOG_MEDIUM = 'medium';
122     // sets the width to 60%
123     const DIALOG_LARGE = 'large';
124     // sets the width to 70%
125     const DIALOG_XLARGE = 'xlarge';
126     // sets the width to 95%
127     const DIALOG_EXPAND = 'expand';
128 
129     // section classes
130     const SECTION_CONTAINER            = 'section-container';
131     const SECTION_STYLE_AUTO           = 'auto';
132     const SECTION_STYLE_TABS           = 'tabs';
133     const SECTION_STYLE_VERTICAL_TABS  = 'vertical-tabs';
134     const SECTION_STYLE_ACCORDION      = 'accordion';
135     const SECTION_STYLE_VERTICAL_NAV   = 'vertical-nav';
136     const SECTION_STYLE_HORIZONTAL_NAV = 'horizontal-nav';
137 
138     // tooltip classes
139     const TOOLTIP        = 'has-tip';
140     const TOOLTIP_TOP    = 'tip-top';
141     const TOOLTIP_BOTTOM = 'tip-bottom';
142     const TOOLTIP_LEFT   = 'tip-left';
143     const TOOLTIP_RIGHT  = 'tip-right';
144 
145     // Foundation Icons
146     // Social Elements
147     const ICON_THUMBS_UP    = 'thumb-up';
148     const ICON_THUMB_DOWN   = 'thumb-down';
149     const ICON_RSS          = 'rss';
150     const ICON_FACEBOOK     = 'facebook';
151     const ICON_TWITTER      = 'twitter';
152     const ICON_PINTEREST    = 'pinteres';
153     const ICON_GITHUB       = 'github';
154     const ICON_PATH         = 'path';
155     const ICON_LINKEDIN     = 'linkedin';
156     const ICON_DRIBBLE      = 'dribble';
157     const ICON_STUMBLE_UPON = 'stumble-upon';
158     const ICON_BEHANCE      = 'behance';
159     const ICON_REDDIT       = 'reddit';
160     const ICON_GOOGLE_PLUS  = 'google-plus';
161     const ICON_YOUTUBE      = 'youtube';
162     const ICON_VIMEO        = 'vimeo';
163     const ICON_FLICKR       = 'flickr';
164     const ICON_SLIDESHARE   = 'slideshare';
165     const ICON_PICASSA      = 'picassa';
166     const ICON_SKYPE        = 'skype';
167     const ICON_INSTAGRAM    = 'instagram';
168     const ICON_FOURSQUARE   = 'foursquare';
169     const ICON_DELICIOUS    = 'delicious';
170     const ICON_CHAT         = 'chat';
171     const ICON_TORSO        = 'toro';
172     const ICON_TUMBLR       = 'tumblr';
173     const ICON_VIDEO_CHAT   = 'video-chat';
174     const ICON_DIGG         = 'digg';
175     const ICON_WORDPRESS    = 'wordpress';
176 
177     // Accessibility Elements
178     const ICON_WHEELCHAIR       = 'wheelchair';
179     const ICON_SPEAKER          = 'speaker';
180     const ICON_FONTSIZE         = 'fontsize';
181     const ICON_EJECT            = 'eject';
182     const ICON_VIEW_MODE        = 'view-mode';
183     const ICON_EYEBALL          = 'eyeball';
184     const ICON_ASL              = 'asl';
185     const ICON_PERSON           = 'person';
186     const ICON_QUESTION         = 'question';
187     const ICON_ADULT            = 'adult';
188     const ICON_CHILD            = 'child';
189     const ICON_GLASSES          = 'glasses';
190     const ICON_CC               = 'cc';
191     const ICON_BLIND            = 'blind';
192     const ICON_BRAILLE          = 'braille';
193     const ICON_IPHONE_HOME      = 'iphone-hone';
194     const ICON_W3C              = 'w3c';
195     const ICON_CSS              = 'css';
196     const ICON_KEY              = 'key';
197     const ICON_HEARING_IMPAIRED = 'hearing-impaired';
198     const ICON_MALE             = 'male';
199     const ICON_FEMAILE          = 'female';
200     const ICON_NETWORK          = 'network';
201     const ICON_GUIDEDOG         = 'guidedog';
202     const ICON_UNIVERSAL_ACCESS = 'universal-access';
203     const ICON_ELEVATOR         = 'elevator';
204 
205     // General [ used with closed or not closed style fonts]
206     const ICON_SETTINGS     = 'settings';
207     const ICON_HEART        = 'heart';
208     const ICON_STAR         = 'star';
209     const ICON_PLUS         = 'plus';
210     const ICON_MINUS        = 'minus';
211     const ICON_CHECKMARK    = 'checkmark';
212     const ICON_REMOVE       = 'remove';
213     const ICON_MAIL         = 'mail';
214     const ICON_CALENDAR     = 'calendar';
215     const ICON_PAGE         = 'page';
216     const ICON_TOOLS        = 'tools';
217     const ICON_GLOBE        = 'globe';
218     const ICON_HOME         = 'home';
219     const ICON_QUOTE        = 'quote';
220     const ICON_PEOPLE       = 'people';
221     const ICON_MONITOR      = 'monitor';
222     const ICON_LAPTOP       = 'laptop';
223     const ICON_PHONE        = 'phone';
224     const ICON_CLOUD        = 'cloud';
225     const ICON_ERROR        = 'error';
226     const ICON_RIGHT_ARROW  = 'right-arrow';
227     const ICON_LEFT_ARROW   = 'left-arrow';
228     const ICON_UP_ARROW     = 'up-arrow';
229     const ICON_DOWN_ARROW   = 'down-arrow';
230     const ICON_TRASH        = 'trash';
231     const ICON_ADD_DOC      = 'add-doc';
232     const ICON_EDIT         = 'edit';
233     const ICON_LOCK         = 'lock';
234     const ICON_UNLOCK       = 'unlock';
235     const ICON_REFRESH      = 'refresh';
236     const ICON_PAPER_CLIP   = 'paper-clip';
237     const ICON_VIDEO        = 'video';
238     const ICON_PHOTO        = 'photo';
239     const ICON_GRAPH        = 'graph';
240     const ICON_IDEA         = 'idea';
241     const ICON_MIC          = 'mic';
242     const ICON_CART         = 'cart';
243     const ICON_ADDRESS_BOOK = 'address-book';
244     const ICON_COMPASS      = 'compass';
245     const ICON_FLAG         = 'flag';
246     const ICON_LOCATION     = 'location';
247     const ICON_CLOCK        = 'clock';
248     const ICON_FOLDER       = 'folder';
249     const ICON_INBOX        = 'inbox';
250     const ICON_WEBSITE      = 'website';
251     const ICON_SMILEY       = 'smiley';
252     const ICON_SEARCH       = 'search';
253 
254     // Available icon fonts
255     const ICONS_SET_ACCESSIBILITY    = 'accessibility';
256     const ICONS_SET_GENERAL          = 'general';
257     const ICONS_SET_GENERAL_ENCLOSED = 'general_enclosed';
258     const ICONS_SET_SOCIAL           = 'social';
259 }
YiiFoundation API documentation generated by ApiGen 2.8.0