archive-com.com » COM » S » SOLARPHP.COM

Total: 875

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Solar Framework for PHP 5
    VendorName Controller Page Public Creating SYSTEM source vendor name VendorName Controller Page View Creating SYSTEM source vendor name VendorName Model Writing SYSTEM source vendor name VendorName Cli Help php done Writing SYSTEM source vendor name VendorName Cli Help Info options php done Writing SYSTEM source vendor name VendorName Controller Bread php done Writing SYSTEM source vendor name VendorName Controller Bread Locale en US php done Writing SYSTEM source vendor name VendorName Controller Bread View item php done Writing SYSTEM source vendor name VendorName Controller Bread View list php done Writing SYSTEM source vendor name VendorName Controller Bread View add php done Writing SYSTEM source vendor name VendorName Controller Bread View browse php done Writing SYSTEM source vendor name VendorName Controller Bread View delete php done Writing SYSTEM source vendor name VendorName Controller Bread View edit php done Writing SYSTEM source vendor name VendorName Controller Bread View read php done Writing SYSTEM source vendor name VendorName Controller Bread View search php done Writing SYSTEM source vendor name VendorName Controller Command php done Writing SYSTEM source vendor name VendorName Controller Page php done Writing SYSTEM source vendor name VendorName Filter php done Making directory SYSTEM source vendor name VendorName Sql done Writing SYSTEM source vendor name VendorName Sql Model php done Making directory SYSTEM source vendor name VendorName Sql Model done Writing SYSTEM source vendor name VendorName Sql Model Collection php done Writing SYSTEM source vendor name VendorName Sql Model Metadata php done Writing SYSTEM source vendor name VendorName Sql Model Record php done Writing SYSTEM source vendor name config default php done Writing SYSTEM source vendor name config run tests php done Writing SYSTEM source vendor name VendorName Cli Help Info help txt done Making links for vendor VendorName Making link include VendorName done Making link include Test VendorName done Making

    Original URL path: http://solarphp.com/manual/commands.make-vendor (2016-02-13)
    Open archived version from archive


  • Solar Framework for PHP 5
    via docroot public This command creates the symbolic links for you so they will be accessible Vendor linking happens automatically as part of the make vendor command 8 3 1 Example To link a vendor source into a Solar system issue the following command script solar link vendor VendorName Making links for vendor VendorName Making link include VendorName done Making link include Test VendorName done Making link include Mock VendorName done Making link include Fixture VendorName done Making link script vendor name done done Making public symlinks for VendorName Making public directory docroot public VendorName Controller done Making public symlink for VendorName Controller Bread done Making public symlink for VendorName Controller Page done done Remember to add VendorName App to the Solar Controller Front classes element in your config file so that it finds your apps Remember to add VendorName Model to the Solar Sql Model Catalog classes element in your config file so that it finds your models What is going on here The command creates symbolic links from the source directory to the include directory including test cases test mocks and test fixtures It also creates a link so that script vendor name commands are available Next the

    Original URL path: http://solarphp.com/manual/commands.link-vendor (2016-02-13)
    Open archived version from archive

  • Solar Framework for PHP 5
    public assets from VendorName classes are available to web browsers Public linking happens automatically as part of the link vendor command 8 4 1 Example To link a vendor s public assets into a Solar docroot issue the following command script solar link public VendorName Making public symlinks for VendorName Making public directory docroot public VendorName Controller done Making public symlink for VendorName done Making public symlink for VendorName done

    Original URL path: http://solarphp.com/manual/commands.link-public (2016-02-13)
    Open archived version from archive

  • Solar Framework for PHP 5
    Fixture VendorName done Removing include Mock VendorName done Removing include Test VendorName done Removing include VendorName done done Remember to remove VendorName App from the Solar Controller Front classes element in your config file Remember to remove VendorName Model from the Solar Sql Model Catalog classes element in your config file You will need to remove the docroot public VendorName directory yourself as it may contain copies of public assets

    Original URL path: http://solarphp.com/manual/commands.unlink-vendor (2016-02-13)
    Open archived version from archive

  • Solar Framework for PHP 5
    shows a list of available commands if a command name is passed it shows the help page for that command Prev Up Next 8 5 Unlink Vendor Source Home 8 7 Make One Or More Models Local Navigation Home Project

    Original URL path: http://solarphp.com/manual/commands.help (2016-02-13)
    Open archived version from archive

  • Solar Framework for PHP 5
    model Vendor Model TableName Will write to SYSTEM include Using table table name Not using inheritance Making class directory done Writing model class done Writing record class done Writing collection class done Connecting to database for metadata connected Fetching table cols done Fetching index info done Writing metadata class done Creating locale directory done Saving locale file for en US done Done What is going on here The command creates three classes and their respective directory Vendor Model TableName the model mapper class Vendor Model TableName Record the model record class Vendor Model TableName Collection the class for a collection of model records The command then connects to the database to retrieve column and index information on the table This metadata is then stored in a Vendor Model TableName Metadata class If you call make model again this metadata class will be overwritten so do not modify it yourself You can tell the command not to connect by passing connect false Finally using the metadata the command builds an initial locale file for the model 8 7 2 Specify a Table Name script solar make model Vendor Model OtherName table table name The above command creates one model class set using the default SQL database connection and uses an explicitly identified table name from the database 8 7 3 Specify a Parent Class script solar make model Vendor Model TableName extends Vendor Model ParentClass The above command creates one model class set using the default SQL database connection and uses an implicitly identified table taken from the class name However instead of using Vendor Sql Model as its parent class set it uses Vendor Model ParentClass for its parentage By default this means the created model will use the same table as Vendor Model ParentClass and it will enable single

    Original URL path: http://solarphp.com/manual/commands.make-model (2016-02-13)
    Open archived version from archive

  • Solar Framework for PHP 5
    Creating app Layout directory Creating app Locale directory Creating app Public directory Creating app View directory App class Vendor App PageName extends Vendor Controller Page Preparing to write to SYSTEM include Writing app class Writing locale file Writing index view Making public symlinks for Vendor App PageName Making public directory docroot public Vendor App done Making public symlink for Vendor App PageName done done Done By default the app will extend Vendor Controller Page which itself was created via make vendor earlier However if you pass extends Vendor App ParentClass the app will extend from the named parent class instead 8 8 2 Make a Boilerplate BREAD App script solar make app model name model name The above command creates a page controller class with its support file structure and a series of boilerplate methods and views one each for browse read edit add delete and search The methods act on the catalog model named by model name in the above command the model name entry in the model catalog The app will honor any user access controls that have been specified elsewhere By default the BREAD app extends the Vendor Controller Bread class which itself was created by make

    Original URL path: http://solarphp.com/manual/commands.make-app (2016-02-13)
    Open archived version from archive

  • Solar Framework for PHP 5
    and directories script solar make cli Vendor Cli CommandName Making CLI command Creating CLI directory Creating CLI Info directory Creating CLI Locale directory CLI class Vendor Cli CommandName extends Vendor Controller Command Preparing to write to Users pmjones Sites proxima include Writing CLI class Writing locale file Writing help file Writing options file Done By default the command will extend from Vendor Controller Command which itself was created by make

    Original URL path: http://solarphp.com/manual/commands.make-cli (2016-02-13)
    Open archived version from archive



  •